Saltar al contenido principal

Adjuntos, notas fiscales, esquemas y espacios

Los archivos adjuntos a los registros, las notas fiscales recibidas, finance_schemas_get, el catálogo de los campos que devuelve cada tool — qué pedir en fields —, y finance_workspaces_list, los espacios de donde sale el workspace_id de las demás tools.

Familias en esta página​

FamiliaToolsreadwritedestructive
attachments — Adjuntos7322
fiscal_documents — Notas fiscales recibidas2200
schemas — Catálogo de campos1100
workspaces — Espacios1100

attachments​

ToolTipoPermisoEndpointQué hace
finance_attachments_listreadattachments.listGET /v1/attachmentsList attachments (metadata only).
finance_attachments_getreadattachments.listGET /v1/attachments/{attachment_id}Fetch one attachment's metadata, including download_url.
finance_attachments_downloadreadattachments.downloadGET /v1/attachments/{attachment_id}/downloadLocate an attachment's bytes.
finance_attachments_uploadwriteattachments.createPOST /v1/attachmentsUpload a file (pdf, png, jpg, xml, ofx, csv, xlsx; max 10 MB) as an attachment.
finance_attachments_deletedestructiveattachments.deleteDELETE /v1/attachments/{attachment_id}Delete an attachment (file and metadata).
finance_attachments_linkwriteattachments.updatePOST /v1/attachments/{attachment_id}/linksAttach the file to a payable, receivable or transaction: type names the kind of record and id its id.
finance_attachments_unlinkdestructiveattachments.updateDELETE /v1/attachments/{attachment_id}/linksDetach the file from a payable, receivable or transaction (type + id of the record).

fiscal_documents​

ToolTipoPermisoEndpointQué hace
finance_fiscal_documents_listreadfiscal-documents.listGET /v1/fiscal-documentsList received fiscal documents (NF-e / NFS-e issued to the workspace's companies).
finance_fiscal_documents_getreadfiscal-documents.showGET /v1/fiscal-documents/{id}Fetch one received fiscal document.

schemas​

ToolTipoPermisoEndpointQué hace
finance_schemas_getread— (ninguno)— (local)Describe a schema of the Finance API contract: the fields a tool returns (PayableDetailV1, FinancialTransactionV1…) or accepts.

workspaces​

ToolTipoPermisoEndpointQué hace
finance_workspaces_listread— (ninguno)— (local)List the workspaces of this organization you can act on.

Los campos de cada recurso están en la Referencia de la API y en finance_schemas_get.

Una tool que no puedes ejecutar no aparece en tools/list. Si falta alguna de esta página, ve Autenticación.