Skip to content
On this page

Journals

In Bc-Pro documents are sectioned by journals. Every journal belongs to a certain type.

TYPENameDomain
aN.C. d'achatPurchase
AFactures d'achatPurchase
CCommande clientSale
DInterventionsSale
FFacturesSale
LLivraisonsSale
NNotes de créditSale
OOffresSale
pDemande de prixPurchase
PPropositionPurchase
RMarchandises reçuesPurchase
SDevisSale
UCommandes fournisseursPurchase
VCaisseSale

REST API

GET /journal
GET /journals

GraphQL

query {
  journal {
    COD
  }
}
query {
  journals {
    COD
  }
}

Return

/journal

{
  "data": {
    {
      "COD": "ACM"
    },
  }
}

/journals

{
  "data": {
    "journals": [
      {
        "COD": "ACM"
      },
      {
        "COD": "CCC"
      }
      ...
    ]
    }
}

Important fields

COD string(4)
Primary key of the journal.

NOM string(30)
Name of the journal.

TYP_JOURNAL string(1)
Type of the journal.

The Journal Object

{
  "COD": "ACM",
  "NOM": "Factures d'achat",
  "TYP_JOURNAL": "A",
  "DOSSIER": "01"
}