public class IssuedEInvoicesApi
extends java.lang.Object
| Constructor and Description |
|---|
IssuedEInvoicesApi() |
IssuedEInvoicesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
GetEInvoiceRejectionReasonResponse |
getEInvoiceRejectionReason(java.lang.Integer companyId,
java.lang.Integer documentId)
Get E-Invoice Rejection Reason Get e-invoice rejection reason
|
okhttp3.Call |
getEInvoiceRejectionReasonAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<GetEInvoiceRejectionReasonResponse> _callback)
Get E-Invoice Rejection Reason (asynchronously) Get e-invoice rejection reason
|
okhttp3.Call |
getEInvoiceRejectionReasonCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
Build call for getEInvoiceRejectionReason
|
ApiResponse<GetEInvoiceRejectionReasonResponse> |
getEInvoiceRejectionReasonWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId)
Get E-Invoice Rejection Reason Get e-invoice rejection reason
|
java.lang.String |
getEInvoiceXml(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment)
Get E-Invoice XML Downloads the e-invoice in XML format.
|
okhttp3.Call |
getEInvoiceXmlAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment,
ApiCallback<java.lang.String> _callback)
Get E-Invoice XML (asynchronously) Downloads the e-invoice in XML format.
|
okhttp3.Call |
getEInvoiceXmlCall(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment,
ApiCallback _callback)
Build call for getEInvoiceXml
|
ApiResponse<java.lang.String> |
getEInvoiceXmlWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment)
Get E-Invoice XML Downloads the e-invoice in XML format.
|
int |
getHostIndex() |
SendEInvoiceResponse |
sendEInvoice(java.lang.Integer companyId,
java.lang.Integer documentId,
SendEInvoiceRequest sendEInvoiceRequest)
Send E-Invoice Sends the e-invoice to SDI.
|
okhttp3.Call |
sendEInvoiceAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
SendEInvoiceRequest sendEInvoiceRequest,
ApiCallback<SendEInvoiceResponse> _callback)
Send E-Invoice (asynchronously) Sends the e-invoice to SDI.
|
okhttp3.Call |
sendEInvoiceCall(java.lang.Integer companyId,
java.lang.Integer documentId,
SendEInvoiceRequest sendEInvoiceRequest,
ApiCallback _callback)
Build call for sendEInvoice
|
ApiResponse<SendEInvoiceResponse> |
sendEInvoiceWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId,
SendEInvoiceRequest sendEInvoiceRequest)
Send E-Invoice Sends the e-invoice to SDI.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
VerifyEInvoiceXmlResponse |
verifyEInvoiceXml(java.lang.Integer companyId,
java.lang.Integer documentId)
Verify E-Invoice XML Verifies the e-invoice XML format.
|
okhttp3.Call |
verifyEInvoiceXmlAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<VerifyEInvoiceXmlResponse> _callback)
Verify E-Invoice XML (asynchronously) Verifies the e-invoice XML format.
|
okhttp3.Call |
verifyEInvoiceXmlCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
Build call for verifyEInvoiceXml
|
ApiResponse<VerifyEInvoiceXmlResponse> |
verifyEInvoiceXmlWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId)
Verify E-Invoice XML Verifies the e-invoice XML format.
|
public IssuedEInvoicesApi()
public IssuedEInvoicesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call getEInvoiceRejectionReasonCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public GetEInvoiceRejectionReasonResponse getEInvoiceRejectionReason(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<GetEInvoiceRejectionReasonResponse> getEInvoiceRejectionReasonWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call getEInvoiceRejectionReasonAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<GetEInvoiceRejectionReasonResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call getEInvoiceXmlCall(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)includeAttachment - Include the attachment to the XML e-invoice. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public java.lang.String getEInvoiceXml(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)includeAttachment - Include the attachment to the XML e-invoice. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<java.lang.String> getEInvoiceXmlWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId, java.lang.Boolean includeAttachment) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)includeAttachment - Include the attachment to the XML e-invoice. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | - | |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getEInvoiceXmlAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.Boolean includeAttachment,
ApiCallback<java.lang.String> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)includeAttachment - Include the attachment to the XML e-invoice. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call sendEInvoiceCall(java.lang.Integer companyId,
java.lang.Integer documentId,
SendEInvoiceRequest sendEInvoiceRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)sendEInvoiceRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public SendEInvoiceResponse sendEInvoice(java.lang.Integer companyId, java.lang.Integer documentId, SendEInvoiceRequest sendEInvoiceRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)sendEInvoiceRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<SendEInvoiceResponse> sendEInvoiceWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId, SendEInvoiceRequest sendEInvoiceRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)sendEInvoiceRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call sendEInvoiceAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
SendEInvoiceRequest sendEInvoiceRequest,
ApiCallback<SendEInvoiceResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)sendEInvoiceRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call verifyEInvoiceXmlCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 422 | Example response | - |
public VerifyEInvoiceXmlResponse verifyEInvoiceXml(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 422 | Example response | - |
public ApiResponse<VerifyEInvoiceXmlResponse> verifyEInvoiceXmlWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 422 | Example response | - |
public okhttp3.Call verifyEInvoiceXmlAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<VerifyEInvoiceXmlResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
| 422 | Example response | - |