Operations in the Fatture in Cloud IssuedEInvoices resource.
Summary
Functions
Get e-invoice rejection reason
Downloads the e-invoice in XML format.
Sends the e-invoice to SDI.
Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.
Functions
@spec get_e_invoice_rejection_reason( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Get e-invoice rejection reason
Sends GET /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason (getEInvoiceRejectionReason).
@spec get_e_invoice_xml( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Downloads the e-invoice in XML format.
Sends GET /c/{company_id}/issued_documents/{document_id}/e_invoice/xml (getEInvoiceXml).
Query options
:include_attachment(boolean)
@spec send_e_invoice( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Sends the e-invoice to SDI.
Sends POST /c/{company_id}/issued_documents/{document_id}/e_invoice/send (sendEInvoice).
Pass the JSON body with the provider's envelope. Use nil to omit it.
@spec verify_e_invoice_xml( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.
Sends GET /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify (verifyEInvoiceXml).