InvoiceDocument


Modelo InvoiceDocument

{
    "id": 1,
    "type": "FA",
    "reference": "00d-0006047",
    "issued_at": "2025-01-24T20:34:10.000000Z",
    "completed_at": "2025-01-29T20:25:50.000000Z",
    "document_id": "c1a1a7de-972d-4ef4-af89-ed7185beb5f6",
    "payload": {
        "result": {
            "strongId": "c1a1a7de-972d-4ef4-af89-ed7185beb5f6",
            "codeName": "FA",
            "serieStrongId": "74b748e7-2531-4e57-a3b1-97cf4a6bed3b",
            "serie": "0",
            "number": 1,
            "fiscalRegistry": "V19892238",
            "name": "Social D, Jos Daniel",
            "currency": "VES",
            "exemptAmount": 0,
            "taxBase": 21.43,
            "taxBaseReduced": 0,
            "taxAmount": 3.43,
            "total": 24.86,
            "igtfBaseAmount": 0,
            "igtfAmount": 0,
            "grandTotal": 0,
            "controlNumber": 1,
            "batchStrongId": "74f4ebd9-56cc-4e88-bbf6-8273c8569c0d",
            "status": "Assigned"
        },
        "information": [],
        "success": [],
        "hasErrors": false
    },
    "related_type": "App\Order",
    "related_id": 15440,
    "target_type": "App\Client",
    "target_id": 228,
    "company_id": 116,
    "created_at": "2025-01-24T16:21:41.000000Z",
    "updated_at": "2025-01-29T20:25:50.000000Z",
    "related_document_id": null,
    "number": 1,
    "control": 1
}
Atributo Tipo Descripción
id int -
type string -
reference string -
issued_at datetime\|null -
completed_at datetime\|null -
document_id string\|null -
payload array\|null -
related_type string -
related_id int -
target_type string -
target_id int -
company_id int -
created_at datetime\|null -
updated_at datetime\|null -
control int\|null -
number int\|null -

Acciones de InvoiceDocument

Handle

Método URI Cabeceras
POST /companies/{companyId}/invoices-documents/{invoiceDocumentId}/refund Authorization
{
    "type": {
        "required": true,
        "string": true
    }
}

Enlaces de InvoiceDocument