ExFattureincloud.IssuedEInvoices (ExFattureincloud v0.1.0)

Copy Markdown View Source

Operations in the Fatture in Cloud IssuedEInvoices resource.

Summary

Functions

Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.

Functions

get_e_invoice_rejection_reason(client, company_id, document_id, opts \\ [])

Get e-invoice rejection reason

Sends GET /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason (getEInvoiceRejectionReason).

get_e_invoice_xml(client, company_id, document_id, opts \\ [])

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)

send_e_invoice(client, company_id, document_id, body, opts \\ [])

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.

verify_e_invoice_xml(client, company_id, document_id, opts \\ [])

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).