v1 - EInvoicing

Get self-billed e-invoice

Returns a self-billed e-invoice by ID

get/v1/einvoicing/self-billed-einvoices/{id}

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

idstring uuid required

Response

default response

idstring uuid
companyEntityIdstring uuid
accountingDocumentIdstring uuid nullable

The accounting document the e-invoice was created for. Null once the accounting document is deleted

accountingDocumentType'AP' | 'AR' | 'BP' | 'CC' | 'CN' | 'CT' | 'DE' | 'FX' | 'JE' | 'YC' nullable

⚠️ This enum is not exhaustive; new values may be added in the future.

linkedSelfBilledEInvoiceIdstring uuid nullable
type'SELF_BILLED_CREDIT_NOTE' | 'SELF_BILLED_INVOICE'

⚠️ This enum is not exhaustive; new values may be added in the future.

network'FINVOICE' | 'FR_PA' | 'MYDATA' | 'NEMHANDEL' | 'PEPPOL' | 'PORTUGUESE_TAX_REPORTING' | 'SDI' | 'VERIFACTU'

⚠️ This enum is not exhaustive; new values may be added in the future.

selfBilledEInvoiceNumberstring nullable
issueDatestring date

The date on the self-billed e-invoice

deadlinestring date nullable

The last day to send the e-invoice to the network

documentNumberstring nullable

The number on the supplier's document

documentDatestring date nullable

The date of the supplier's document

currencystring nullable
amountinteger nullable

Total amount in cents, expressed in the invoice currency.

buyerNamestring
buyerVatNumberstring
buyerBusinessRegistrationNumberstring nullable
supplierNamestring
supplierVatNumberstring nullable
supplierBusinessRegistrationNumberstring nullable
areLinesWithTaxboolean

How the accounting document's amounts were entered: true means with tax. Line amounts in this response are always net

status'ACCEPTED' | 'ARCHIVED' | 'DRAFT' | 'FAILED' | 'SUBMITTED'

⚠️ This enum is not exhaustive; new values may be added in the future.

einvoiceIdstring nullable
submittedAtstring date-time nullable
createdAtstring date-time
sdiTdCode'TD16' | 'TD17' | 'TD18' | 'TD19' | 'TD20' | 'TD21' | 'TD22' | 'TD23' | 'TD28' nullable

The SDI document type code. Only set on the SDI network

⚠️ This enum is not exhaustive; new values may be added in the future.

Example response

{
  "currency": "USD"
}

Changes

No recorded changes to this operation across all 1 revision of this API.