ExFattureincloud.Archive (ExFattureincloud v0.1.0)

Copy Markdown View Source

Operations in the Fatture in Cloud Archive resource.

Summary

Functions

Uploads an attachment destined to an archive document. The actual association between the document and the attachment must be implemented separately, using the returned token.

Functions

create_archive_document(client, company_id, body, opts \\ [])

Creates a new archive document.

Sends POST /c/{company_id}/archive (createArchiveDocument).

Pass the JSON body with the provider's envelope. Use nil to omit it.

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

Deletes the specified archive document.

Sends DELETE /c/{company_id}/archive/{document_id} (deleteArchiveDocument).

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

Gets the specified archive document.

Sends GET /c/{company_id}/archive/{document_id} (getArchiveDocument).

Query options

  • :fields (string)
  • :fieldset (string, one of "basic", "detailed", "fic_view")

list_archive_documents(client, company_id, opts \\ [])

Lists the archive documents.

Sends GET /c/{company_id}/archive (listArchiveDocuments).

Query options

  • :fields (string)
  • :fieldset (string, one of "basic", "detailed", "fic_view")
  • :sort (string)
  • :page (integer, minimum 1)
  • :per_page (integer, minimum 1, maximum 100)
  • :q (string)

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

Modifies the specified archive document.

Sends PUT /c/{company_id}/archive/{document_id} (modifyArchiveDocument).

Pass the JSON body with the provider's envelope. Use nil to omit it.

upload_archive_document_attachment(client, company_id, body, opts \\ [])

Uploads an attachment destined to an archive document. The actual association between the document and the attachment must be implemented separately, using the returned token.

Sends POST /c/{company_id}/archive/attachment (uploadArchiveDocumentAttachment).

Pass a list of Req multipart fields as the body.