Claim with OTP
Use this endpoint to claim a business profile in Marmin after the business has already selected M A R M I N AI Software Design LLC as its ASP on the EmaraTax portal and requested an OTP using the *Request claim OTP* endpoint. See the right panel for the base URL, request samples, and response JSON.
In the partner onboarding path, authenticate with the account-scoped access token from Obtain Account Access Token (not the partner JWT).
When you call this API, Marmin validates the provided EmaraTax email, TIN, and one-time password (OTP). If they match an eligible business and the OTP is still valid, Marmin links that business to your Marmin organization and returns the full business profile.
Request body
Response
Status code: 200 OK
Returns the claimed business profile object, including its profile_id. This profile_id is the supplier identifier you will use when generating documents, for example as accounting_supplier_party.profile_id in your e-invoices so the FTA can associate documents with the correct business profile.
Once the claim succeeds:
The business is linked to your Marmin organization.
You can start issuing documents (such as e-invoices) from this business profile.
All subsequent documents that reference this
profile_idwill be transmitted under this claimed business.
