API documentation Menu
POST https://bo.magnifinance.com/MagniAPI/taxcommunication.asmx
API 2.1
Activation Get
This method allows you to see if the Tax Communication automatic invoices communication is active.
POST https://bo.magnifinance.com/MagniAPI/taxcommunication.asmx
Sample Body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tax="http://MagniAPI/TaxCommunication/">
<soapenv:Header/>
<soapenv:Body>
<tax:ActivationGet>
<!--Optional:-->
<tax:authentication>
<!--Optional:-->
<tax:Email>{User}</tax:Email>
<!--Optional:-->
<tax:Token>{Token}</tax:Token>
</tax:authentication>
</tax:ActivationGet>
</soapenv:Body>
</soapenv:Envelope>
Request
Header
Parameter | Required | Value |
---|---|---|
Content-Type | required | text/xml |
Body
Authentication
Parameter | Required | Description |
---|---|---|
required | string(50) The API user email with specific permission to configure this service into the company. | |
Token | required | string(50) The token of the company that you are trying to active the Tax communication service. |
Response
Parameter | Description | ||||
---|---|---|---|---|---|
RequestId | Unique Id for the request to have a way to identify the request | ||||
Type | string Description to inform if the request was a success or error. Example value: "Success" | ||||
Object | |||||
|
|||||
ErrorValue | MagniEnum | ||||
|
Example Response
Success
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ActivationGetResponse xmlns="http://MagniAPI/TaxCommunication/">
<ResponseActivationGet>
<RequestId>24f00a9d-dae6-472f-9dbe-ad32e8d181a2</RequestId>
<Type>Success</Type>
<Object>
<IsActive>true</IsActive>
</Object>
</ResponseActivationGet>
</ActivationGetResponse>
</soap:Body>
</soap:Envelope>
Error
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ActivationSetResponse xmlns="http://MagniAPI/TaxCommunication/">
<ResponseActivationSet>
<RequestId>5165e271-97ec-4425-aa33-f7c32c7c6f3d</RequestId>
<Type>Error</Type>
<ErrorValue>
<Value>1</Value>
<Name>AuthenticationError</Name>
</ErrorValue>
</ResponseActivationSet>
</ActivationSetResponse>
</soap:Body>
</soap:Envelope>