{"openapi":"3.1.0","info":{"title":"E-Invoice Compliance Engine API","description":"PEPPOL BIS Billing 3.0 starter validation and UBL XML generation API.","version":"0.1.0"},"paths":{"/portal":{"get":{"tags":["ASP Portal"],"summary":"Public Portal","operationId":"public_portal_portal_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/app":{"get":{"tags":["ASP Portal"],"summary":"Portal App","operationId":"portal_app_portal_app_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/api/public/demo-request":{"post":{"tags":["ASP Portal"],"summary":"Public Demo Request","operationId":"public_demo_request_portal_api_public_demo_request_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Public Demo Request Portal Api Public Demo Request Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/auth/login":{"post":{"tags":["ASP Portal"],"summary":"Portal Login","operationId":"portal_login_portal_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Login Portal Api Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/auth/me":{"get":{"tags":["ASP Portal"],"summary":"Portal Me","operationId":"portal_me_portal_api_auth_me_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Me Portal Api Auth Me Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/overview":{"get":{"tags":["ASP Portal"],"summary":"Portal Overview","operationId":"portal_overview_portal_api_overview_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Overview Portal Api Overview Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices":{"get":{"tags":["ASP Portal"],"summary":"Portal Invoices","operationId":"portal_invoices_portal_api_invoices_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":1000,"title":"Limit"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Invoices Portal Api Invoices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/document-types":{"get":{"tags":["ASP Portal"],"summary":"Portal Document Types","operationId":"portal_document_types_portal_api_document_types_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Document Types Portal Api Document Types Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices/import-file":{"post":{"tags":["ASP Portal"],"summary":"Portal Import Invoice File","operationId":"portal_import_invoice_file_portal_api_invoices_import_file_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Import Invoice File Portal Api Invoices Import File Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices/create":{"post":{"tags":["ASP Portal"],"summary":"Portal Create Invoice","operationId":"portal_create_invoice_portal_api_invoices_create_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Create Invoice Portal Api Invoices Create Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoice-mappings":{"get":{"tags":["ASP Portal"],"summary":"Portal Invoice Mappings","operationId":"portal_invoice_mappings_portal_api_invoice_mappings_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Invoice Mappings Portal Api Invoice Mappings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["ASP Portal"],"summary":"Portal Save Invoice Mapping","operationId":"portal_save_invoice_mapping_portal_api_invoice_mappings_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Save Invoice Mapping Portal Api Invoice Mappings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices/{invoice_id}":{"get":{"tags":["ASP Portal"],"summary":"Portal Invoice Detail","operationId":"portal_invoice_detail_portal_api_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Invoice Detail Portal Api Invoices  Invoice Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices/{invoice_id}/xml":{"get":{"tags":["ASP Portal"],"summary":"Portal Invoice Xml","operationId":"portal_invoice_xml_portal_api_invoices__invoice_id__xml_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Invoice Xml Portal Api Invoices  Invoice Id  Xml Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices/{invoice_id}/pdf":{"get":{"tags":["ASP Portal"],"summary":"Portal Invoice Pdf","operationId":"portal_invoice_pdf_portal_api_invoices__invoice_id__pdf_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/invoices/{invoice_id}/send":{"post":{"tags":["ASP Portal"],"summary":"Portal Send Invoice","operationId":"portal_send_invoice_portal_api_invoices__invoice_id__send_post","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Send Invoice Portal Api Invoices  Invoice Id  Send Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/audit":{"get":{"tags":["ASP Portal"],"summary":"Portal Audit","operationId":"portal_audit_portal_api_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Audit Portal Api Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/reports":{"get":{"tags":["ASP Portal"],"summary":"Portal Reports","operationId":"portal_reports_portal_api_reports_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Reports Portal Api Reports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/assessment":{"get":{"tags":["ASP Portal"],"summary":"Portal Assessment","operationId":"portal_assessment_portal_api_assessment_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Assessment Portal Api Assessment Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/reports/invoices.csv":{"get":{"tags":["ASP Portal"],"summary":"Portal Invoice Report Csv","operationId":"portal_invoice_report_csv_portal_api_reports_invoices_csv_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/reports/{report_name}.csv":{"get":{"tags":["ASP Portal"],"summary":"Portal Named Report Csv","operationId":"portal_named_report_csv_portal_api_reports__report_name__csv_get","parameters":[{"name":"report_name","in":"path","required":true,"schema":{"type":"string","title":"Report Name"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/clients":{"get":{"tags":["ASP Portal"],"summary":"Portal Clients","operationId":"portal_clients_portal_api_clients_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Clients Portal Api Clients Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/clients/{client_id}/status":{"patch":{"tags":["ASP Portal"],"summary":"Portal Client Status","operationId":"portal_client_status_portal_api_clients__client_id__status_patch","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Client Status Portal Api Clients  Client Id  Status Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/documents":{"get":{"tags":["ASP Portal"],"summary":"Portal Documents","operationId":"portal_documents_portal_api_documents_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Documents Portal Api Documents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/clients/{client_id}/documents":{"post":{"tags":["ASP Portal"],"summary":"Portal Upload Client Document","operationId":"portal_upload_client_document_portal_api_clients__client_id__documents_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"integer","title":"Client Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Upload Client Document Portal Api Clients  Client Id  Documents Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/documents/{document_id}/status":{"patch":{"tags":["ASP Portal"],"summary":"Portal Document Status","operationId":"portal_document_status_portal_api_documents__document_id__status_patch","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"integer","title":"Document Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Document Status Portal Api Documents  Document Id  Status Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/documents/{document_id}/download":{"get":{"tags":["ASP Portal"],"summary":"Portal Document Download","operationId":"portal_document_download_portal_api_documents__document_id__download_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"integer","title":"Document Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/admin":{"get":{"tags":["ASP Portal"],"summary":"Portal Admin","operationId":"portal_admin_portal_api_admin_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Admin Portal Api Admin Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/admin/users":{"post":{"tags":["ASP Portal"],"summary":"Portal Create User","operationId":"portal_create_user_portal_api_admin_users_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Create User Portal Api Admin Users Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/admin/users/{username}":{"patch":{"tags":["ASP Portal"],"summary":"Portal Update User","operationId":"portal_update_user_portal_api_admin_users__username__patch","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","title":"Username"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Update User Portal Api Admin Users  Username  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/workflow":{"get":{"tags":["ASP Portal"],"summary":"Portal Workflow","operationId":"portal_workflow_portal_api_workflow_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Workflow Portal Api Workflow Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/webhooks":{"get":{"tags":["ASP Portal"],"summary":"Portal Webhooks","operationId":"portal_webhooks_portal_api_webhooks_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Webhooks Portal Api Webhooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["ASP Portal"],"summary":"Portal Create Webhook","operationId":"portal_create_webhook_portal_api_webhooks_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Create Webhook Portal Api Webhooks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/webhook-deliveries":{"get":{"tags":["ASP Portal"],"summary":"Portal Webhook Deliveries","operationId":"portal_webhook_deliveries_portal_api_webhook_deliveries_get","parameters":[{"name":"invoice_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Id"}},{"name":"webhook_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Webhook Deliveries Portal Api Webhook Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/security":{"get":{"tags":["ASP Portal"],"summary":"Portal Security","operationId":"portal_security_portal_api_security_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Security Portal Api Security Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/gap-analysis":{"get":{"tags":["ASP Portal"],"summary":"Portal Gap Analysis","operationId":"portal_gap_analysis_portal_api_gap_analysis_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Gap Analysis Portal Api Gap Analysis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/clients/register":{"post":{"tags":["ASP Portal"],"summary":"Client Registration","operationId":"client_registration_portal_api_clients_register_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Client Registration Portal Api Clients Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/api/demo/client-registration":{"post":{"tags":["ASP Portal"],"summary":"Demo Client Registration","operationId":"demo_client_registration_portal_api_demo_client_registration_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Demo Client Registration Portal Api Demo Client Registration Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/v1/health":{"get":{"tags":["System"],"summary":"Health","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health V1 Health Get"}}}}}}},"/v1/health/database":{"get":{"tags":["System"],"summary":"Database Health","operationId":"database_health_v1_health_database_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Database Health V1 Health Database Get"}}}}}}},"/v1/rule-packs":{"get":{"tags":["Configuration"],"summary":"Rule Packs","operationId":"rule_packs_v1_rule_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Rule Packs V1 Rule Packs Get"}}}}}}},"/v1/access-point/config":{"get":{"tags":["Configuration"],"summary":"Access Point Config","operationId":"access_point_config_v1_access_point_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Access Point Config V1 Access Point Config Get"}}}}}}},"/v1/security/config":{"get":{"tags":["Configuration"],"summary":"Security Config","operationId":"security_config_v1_security_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Security Config V1 Security Config Get"}}}}}}},"/v1/access-point/registration":{"get":{"tags":["Configuration"],"summary":"Access Point Registration","operationId":"access_point_registration_v1_access_point_registration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Access Point Registration V1 Access Point Registration Get"}}}}}}},"/v1/production-readiness":{"get":{"tags":["System"],"summary":"Production Readiness","operationId":"production_readiness_v1_production_readiness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Production Readiness V1 Production Readiness Get"}}}}}}},"/v1/xml/validate":{"post":{"tags":["Validation"],"summary":"Validate Raw Xml","operationId":"validate_raw_xml_v1_xml_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/xml":{"schema":{"type":"string","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Raw Xml V1 Xml Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/validate":{"get":{"tags":["Invoices"],"summary":"Validate Help","operationId":"validate_help_v1_invoices_validate_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"tags":["Invoices"],"summary":"Validate","operationId":"validate_v1_invoices_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceRequest","examples":[{"summary":"Valid PEPPOL starter invoice","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"INV-10002","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"380","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"SALE","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}]}}]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate V1 Invoices Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/generate":{"post":{"tags":["Invoices"],"summary":"Generate","operationId":"generate_v1_invoices_generate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceRequest","examples":[{"summary":"Valid PEPPOL starter invoice","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"INV-10002","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"380","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"SALE","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}]}}]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate V1 Invoices Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices":{"post":{"tags":["Invoices"],"summary":"Create Invoice","operationId":"create_invoice_v1_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceRequest","examples":[{"summary":"Valid PEPPOL starter invoice","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"INV-10002","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"380","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"SALE","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}]}}]}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Invoice V1 Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/submit":{"post":{"tags":["Invoices"],"summary":"Submit Invoice","operationId":"submit_invoice_v1_invoices_submit_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceRequest","examples":[{"summary":"Valid PEPPOL starter invoice","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"INV-10002","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"380","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"SALE","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}]}}]}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Invoice V1 Invoices Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/document-types":{"get":{"tags":["Documents"],"summary":"Document Types","operationId":"document_types_v1_document_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Document Types V1 Document Types Get"}}}}}}},"/v1/documents/{document_type}/validate":{"post":{"tags":["Documents"],"summary":"Validate Document","operationId":"validate_document_v1_documents__document_type__validate_post","parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string","title":"Document Type"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Document V1 Documents  Document Type  Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_type}/generate":{"post":{"tags":["Documents"],"summary":"Generate Document","operationId":"generate_document_v1_documents__document_type__generate_post","parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string","title":"Document Type"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Document V1 Documents  Document Type  Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_type}":{"post":{"tags":["Documents"],"summary":"Create Document","operationId":"create_document_v1_documents__document_type__post","parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string","title":"Document Type"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Document V1 Documents  Document Type  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_type}/submit":{"post":{"tags":["Documents"],"summary":"Submit Document","operationId":"submit_document_v1_documents__document_type__submit_post","parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string","title":"Document Type"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Document V1 Documents  Document Type  Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/commercial-invoices/validate":{"post":{"tags":["Commercial Invoices"],"summary":"Validate Commercial Invoice","operationId":"validate_commercial_invoice_v1_commercial_invoices_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Commercial Invoice V1 Commercial Invoices Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/commercial-invoices/generate":{"post":{"tags":["Commercial Invoices"],"summary":"Generate Commercial Invoice","operationId":"generate_commercial_invoice_v1_commercial_invoices_generate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Commercial Invoice V1 Commercial Invoices Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/commercial-invoices":{"post":{"tags":["Commercial Invoices"],"summary":"Create Commercial Invoice","operationId":"create_commercial_invoice_v1_commercial_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Commercial Invoice V1 Commercial Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/commercial-invoices/submit":{"post":{"tags":["Commercial Invoices"],"summary":"Submit Commercial Invoice","operationId":"submit_commercial_invoice_v1_commercial_invoices_submit_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Commercial Invoice V1 Commercial Invoices Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credit-notes/validate":{"post":{"tags":["Credit Notes"],"summary":"Validate Credit Note","operationId":"validate_credit_note_v1_credit_notes_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Credit Note V1 Credit Notes Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credit-notes/generate":{"post":{"tags":["Credit Notes"],"summary":"Generate Credit Note","operationId":"generate_credit_note_v1_credit_notes_generate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Credit Note V1 Credit Notes Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credit-notes":{"post":{"tags":["Credit Notes"],"summary":"Create Credit Note","operationId":"create_credit_note_v1_credit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Credit Note V1 Credit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credit-notes/submit":{"post":{"tags":["Credit Notes"],"summary":"Submit Credit Note","operationId":"submit_credit_note_v1_credit_notes_submit_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Credit Note V1 Credit Notes Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/debit-notes":{"post":{"tags":["Debit Notes"],"summary":"Create Debit Note","operationId":"create_debit_note_v1_debit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Debit Note V1 Debit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/debit-notes/validate":{"post":{"tags":["Debit Notes"],"summary":"Validate Debit Note","operationId":"validate_debit_note_v1_debit_notes_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Debit Note V1 Debit Notes Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/debit-notes/generate":{"post":{"tags":["Debit Notes"],"summary":"Generate Debit Note","operationId":"generate_debit_note_v1_debit_notes_generate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Debit Note V1 Debit Notes Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/debit-notes/submit":{"post":{"tags":["Debit Notes"],"summary":"Submit Debit Note","operationId":"submit_debit_note_v1_debit_notes_submit_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Debit Note V1 Debit Notes Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sales/invoices":{"post":{"tags":["Sales Documents"],"summary":"Create Sales Invoice","operationId":"create_sales_invoice_v1_sales_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Sales Invoice V1 Sales Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sales/credit-notes":{"post":{"tags":["Sales Documents"],"summary":"Create Sales Credit Note","operationId":"create_sales_credit_note_v1_sales_credit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Sales Credit Note V1 Sales Credit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sales/debit-notes":{"post":{"tags":["Sales Documents"],"summary":"Create Sales Debit Note","operationId":"create_sales_debit_note_v1_sales_debit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Sales Debit Note V1 Sales Debit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sales/proforma-invoices":{"post":{"tags":["Sales Documents"],"summary":"Create Sales Proforma Invoice","operationId":"create_sales_proforma_invoice_v1_sales_proforma_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Sales Proforma Invoice V1 Sales Proforma Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sales/returns":{"post":{"tags":["Sales Documents"],"summary":"Create Sales Return","operationId":"create_sales_return_v1_sales_returns_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Sales Return V1 Sales Returns Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/purchase/invoices":{"post":{"tags":["Purchase Documents"],"summary":"Create Purchase Invoice","operationId":"create_purchase_invoice_v1_purchase_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Purchase Invoice V1 Purchase Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/purchase/import-invoices":{"post":{"tags":["Purchase Documents"],"summary":"Create Import Purchase Invoice","operationId":"create_import_purchase_invoice_v1_purchase_import_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Import Purchase Invoice V1 Purchase Import Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/purchase/credit-notes":{"post":{"tags":["Purchase Documents"],"summary":"Create Purchase Credit Note","operationId":"create_purchase_credit_note_v1_purchase_credit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Purchase Credit Note V1 Purchase Credit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/purchase/debit-notes":{"post":{"tags":["Purchase Documents"],"summary":"Create Purchase Debit Note","operationId":"create_purchase_debit_note_v1_purchase_debit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Purchase Debit Note V1 Purchase Debit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/purchase/returns":{"post":{"tags":["Purchase Documents"],"summary":"Create Purchase Return","operationId":"create_purchase_return_v1_purchase_returns_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Purchase Return V1 Purchase Returns Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-invoices":{"post":{"tags":["Self-Billing"],"summary":"Create Self Billed Invoice","operationId":"create_self_billed_invoice_v1_self_billed_invoices_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Self Billed Invoice V1 Self Billed Invoices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-invoices/validate":{"post":{"tags":["Self-Billing"],"summary":"Validate Self Billed Invoice","operationId":"validate_self_billed_invoice_v1_self_billed_invoices_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Self Billed Invoice V1 Self Billed Invoices Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-invoices/generate":{"post":{"tags":["Self-Billing"],"summary":"Generate Self Billed Invoice","operationId":"generate_self_billed_invoice_v1_self_billed_invoices_generate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Self Billed Invoice V1 Self Billed Invoices Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-invoices/submit":{"post":{"tags":["Self-Billing"],"summary":"Submit Self Billed Invoice","operationId":"submit_self_billed_invoice_v1_self_billed_invoices_submit_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Self Billed Invoice V1 Self Billed Invoices Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-credit-notes":{"post":{"tags":["Self-Billing"],"summary":"Create Self Billed Credit Note","operationId":"create_self_billed_credit_note_v1_self_billed_credit_notes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Self Billed Credit Note V1 Self Billed Credit Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-credit-notes/validate":{"post":{"tags":["Self-Billing"],"summary":"Validate Self Billed Credit Note","operationId":"validate_self_billed_credit_note_v1_self_billed_credit_notes_validate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Self Billed Credit Note V1 Self Billed Credit Notes Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-credit-notes/generate":{"post":{"tags":["Self-Billing"],"summary":"Generate Self Billed Credit Note","operationId":"generate_self_billed_credit_note_v1_self_billed_credit_notes_generate_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Self Billed Credit Note V1 Self Billed Credit Notes Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/self-billed-credit-notes/submit":{"post":{"tags":["Self-Billing"],"summary":"Submit Self Billed Credit Note","operationId":"submit_self_billed_credit_note_v1_self_billed_credit_notes_submit_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","examples":[{"summary":"Credit note using the shared document service","value":{"customizationId":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0","profileId":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0","invoiceId":"CN-1001","issueDate":"2026-05-29","dueDate":"2026-06-11","invoiceTypeCode":"381","invoiceTransactionTypeCode":"00000000","currency":"AED","buyerReference":"PO-77100","paymentMeansCode":"30","paymentAccountId":"AE070331234567890123456","note":"Commercial credit adjustment for returned goods.","seller":{"name":"BI Soft Tech Services LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE123456789VAT","registrationId":"TRN123456789","registrationSchemeId":"0199","street":"Business Bay","additionalStreet":"Office 1205","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"buyer":{"name":"ABC Trading LLC","endpointId":"1234567890128","endpointSchemeId":"0088","partyId":"1234567890128","partyIdSchemeId":"0088","countryCode":"AE","taxId":"AE987654321VAT","street":"Sheikh Zayed Road","city":"Dubai","postalCode":"00000","countrySubentity":"Dubai"},"lines":[{"id":"1","itemName":"ERP License","description":"Monthly ERP Subscription","quantity":2,"unitCode":"H87","lineExtensionAmount":200,"unitPrice":100,"itemGrossPrice":100,"vatLineAmountAed":10,"invoiceLineAmountAed":210,"allowanceAmount":0,"baseQuantity":1,"baseQuantityUnitCode":"H87","taxCategory":"S","taxRate":5}],"documentType":"credit-note","originalInvoiceId":"INV-1001"}}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Self Billed Credit Note V1 Self Billed Credit Notes Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}":{"get":{"tags":["Invoices"],"summary":"Invoice Detail","operationId":"invoice_detail_v1_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Invoice Detail V1 Invoices  Invoice Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/xml":{"get":{"tags":["Invoices"],"summary":"Download Invoice Xml","operationId":"download_invoice_xml_v1_invoices__invoice_id__xml_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/xml":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/pdf":{"get":{"tags":["Invoices"],"summary":"Download Invoice Pdf","operationId":"download_invoice_pdf_v1_invoices__invoice_id__pdf_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/send":{"post":{"tags":["Invoices"],"summary":"Send Invoice","operationId":"send_invoice_v1_invoices__invoice_id__send_post","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Send Invoice V1 Invoices  Invoice Id  Send Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}":{"get":{"tags":["Documents"],"summary":"Document Detail","operationId":"document_detail_v1_documents__document_id__get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Document Detail V1 Documents  Document Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/xml":{"get":{"tags":["Documents"],"summary":"Download Document Xml","operationId":"download_document_xml_v1_documents__document_id__xml_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/pdf":{"get":{"tags":["Documents"],"summary":"Download Document Pdf","operationId":"download_document_pdf_v1_documents__document_id__pdf_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/documents/{document_id}/send":{"post":{"tags":["Documents"],"summary":"Send Document","operationId":"send_document_v1_documents__document_id__send_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Send Document V1 Documents  Document Id  Send Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/audit":{"get":{"tags":["Invoices"],"summary":"Invoice Audit","operationId":"invoice_audit_v1_invoices__invoice_id__audit_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Invoice Audit V1 Invoices  Invoice Id  Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/erp/invoices/import":{"post":{"tags":["ERP"],"summary":"Erp Invoice Import","operationId":"erp_invoice_import_v1_erp_invoices_import_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Erp Invoice Import V1 Erp Invoices Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/erp/invoices/sync":{"post":{"tags":["ERP"],"summary":"Erp Invoice Sync","operationId":"erp_invoice_sync_v1_erp_invoices_sync_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Erp Invoice Sync V1 Erp Invoices Sync Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/compliance/rules":{"get":{"tags":["Compliance"],"summary":"Compliance Rules","operationId":"compliance_rules_v1_compliance_rules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compliance Rules V1 Compliance Rules Get"}}}}}}},"/v1/compliance/gap-analysis":{"get":{"tags":["Compliance"],"summary":"Compliance Gap Analysis","operationId":"compliance_gap_analysis_v1_compliance_gap_analysis_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compliance Gap Analysis V1 Compliance Gap Analysis Get"}}}}}}},"/v1/compliance/api-flow":{"get":{"tags":["Compliance"],"summary":"Compliance Api Flow","operationId":"compliance_api_flow_v1_compliance_api_flow_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compliance Api Flow V1 Compliance Api Flow Get"}}}}}}},"/v1/webhooks":{"get":{"tags":["Webhooks"],"summary":"Get Webhooks","operationId":"get_webhooks_v1_webhooks_get","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Webhooks V1 Webhooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Webhooks"],"summary":"Register Webhook","operationId":"register_webhook_v1_webhooks_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Webhook V1 Webhooks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete Webhooks","operationId":"delete_webhooks_v1_webhooks_delete","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Webhooks V1 Webhooks Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook-deliveries":{"get":{"tags":["Webhooks"],"summary":"Webhook Deliveries","operationId":"webhook_deliveries_v1_webhook_deliveries_get","parameters":[{"name":"invoice_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Id"}},{"name":"webhook_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Webhook Deliveries V1 Webhook Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/{webhook_id}":{"patch":{"tags":["Webhooks"],"summary":"Update Webhook","operationId":"update_webhook_v1_webhooks__webhook_id__patch","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Webhook V1 Webhooks  Webhook Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mock-webhook":{"post":{"tags":["Webhooks"],"summary":"Mock Webhook","operationId":"mock_webhook_v1_mock_webhook_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mock Webhook V1 Mock Webhook Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InvoiceLineRequest":{"properties":{"id":{"type":"string","minLength":1,"title":"Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"itemName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Itemname"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"quantity":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Quantity"},"unitCode":{"type":"string","minLength":1,"title":"Unitcode"},"unitPrice":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Unitprice"},"taxCategory":{"type":"string","minLength":1,"title":"Taxcategory"},"taxRate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Taxrate"},"lineExtensionAmount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Lineextensionamount"},"allowanceAmount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Allowanceamount","default":"0.00"},"chargeAmount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Chargeamount","default":"0.00"},"baseQuantity":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Basequantity","default":"1.00"},"baseQuantityUnitCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basequantityunitcode"},"itemGrossPrice":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Itemgrossprice"},"vatLineAmountAed":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Vatlineamountaed"},"invoiceLineAmountAed":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Invoicelineamountaed"},"accountingCost":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accountingcost"},"periodStartDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Periodstartdate"},"periodEndDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Periodenddate"},"orderLineReference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Orderlinereference"},"documentReferenceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Documentreferenceid"},"documentReferenceSchemeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Documentreferenceschemeid"},"documentReferenceTypeCode":{"type":"string","title":"Documentreferencetypecode","default":"130"},"allowanceChargeReasonCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowancechargereasoncode"},"allowanceChargeReason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowancechargereason"},"allowanceChargePercentage":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Allowancechargepercentage"},"allowanceBaseAmount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Allowancebaseamount"},"buyersItemId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyersitemid"},"sellersItemId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sellersitemid"},"standardItemId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Standarditemid"},"standardItemSchemeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Standarditemschemeid"},"originCountryCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origincountrycode"},"commodityClassificationCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commodityclassificationcode"},"commodityClassificationListId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commodityclassificationlistid"},"commodityClassificationListVersionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commodityclassificationlistversionid"},"itemProperties":{"items":{"$ref":"#/components/schemas/ItemPropertyRequest"},"type":"array","title":"Itemproperties"}},"additionalProperties":false,"type":"object","required":["id","quantity","unitCode","unitPrice","taxCategory","taxRate"],"title":"InvoiceLineRequest"},"InvoiceRequest":{"properties":{"invoiceId":{"type":"string","minLength":1,"title":"Invoiceid"},"uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uuid"},"issueDate":{"type":"string","minLength":1,"title":"Issuedate"},"issueTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuetime"},"dueDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duedate"},"documentCategory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Documentcategory"},"invoiceTypeCode":{"type":"string","title":"Invoicetypecode","default":"380"},"invoiceTransactionTypeCode":{"type":"string","pattern":"^[01]{8}$","title":"Invoicetransactiontypecode","default":"00000000"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"taxCurrencyCode":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Taxcurrencycode"},"buyerReference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyerreference"},"orderReference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Orderreference"},"originalInvoiceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalinvoiceid"},"isSelfBilled":{"type":"boolean","title":"Isselfbilled","default":false},"paymentMeansCode":{"type":"string","title":"Paymentmeanscode","default":"30"},"paymentAccountId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paymentaccountid"},"iban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iban"},"customizationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customizationid"},"profileId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profileid"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"qrPayload":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qrpayload"},"seller":{"$ref":"#/components/schemas/PartyRequest"},"buyer":{"$ref":"#/components/schemas/PartyRequest"},"lines":{"items":{"$ref":"#/components/schemas/InvoiceLineRequest"},"type":"array","minItems":1,"title":"Lines"}},"additionalProperties":false,"type":"object","required":["invoiceId","issueDate","currency","seller","buyer","lines"],"title":"InvoiceRequest"},"ItemPropertyRequest":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"value":{"type":"string","minLength":1,"title":"Value"}},"additionalProperties":false,"type":"object","required":["name","value"],"title":"ItemPropertyRequest"},"PartyRequest":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"endpointId":{"type":"string","minLength":1,"title":"Endpointid"},"endpointSchemeId":{"type":"string","minLength":1,"title":"Endpointschemeid"},"countryCode":{"type":"string","maxLength":2,"minLength":2,"title":"Countrycode"},"partyId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partyid"},"partyIdSchemeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partyidschemeid"},"identificationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identificationid"},"identificationSchemeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identificationschemeid"},"taxId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taxid"},"registrationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registrationid"},"registrationSchemeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registrationschemeid"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street"},"additionalStreet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additionalstreet"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postalCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postalcode"},"countrySubentity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countrysubentity"}},"additionalProperties":false,"type":"object","required":["name","endpointId","endpointSchemeId","countryCode"],"title":"PartyRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}