Listing facturation

Request

  • Envoi la liste de facture
    • :W: GET /
    • Les paramètres sont
      • Exercice
      • Periode
      • Operation (3 facture ou 4 note de crédit)
    • url/obj : fnDoc / FNDOC
    • Exemple GET /

Response

  • Retourne le listing des factures (données auto-générées, les infos ne sont pas bonnes)
[{
  "number": 480408,
  "operation": "1",
  "period": 4,
  "lastNumber": 4,
  "tier": {
    "id": "F1",
    "label": "Real Estate"
  },
  "dateInvoice": "13/08/2020",
  "total": 1747.08,
  "devise": "ZAR",
  "journal": "Finance",
  "reference": "Black-throated butcher bird",
  "isCounted": true,
  "articles": [
    {
      "code": "pvgO-86",
      "label": ["Zontrax"],
      "conditioning": {id: "ER89", label: "Often"},
      "quantity":2.00,
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "accountCharge": {name: "49230200", value: "Articles"},
      "vatCode": "z28",
      "unitPrice": "90.49"
    }
  ]
}, {
  "number": 5909,
  "operation": "4",
  "period": 5,
  "lastNumber": 5,
  "tier": {
    "id": "F1",
    "label": "Engineering & Construction"
  },
  "dateInvoice": "31/10/2020",
  "total": 2735.18,
  "devise": "COP",
  "journal": "Capital Goods",
  "reference": "Stanley bustard",
  "isCounted": false,
  "articles": [
    {
      "code": "8Jyd-21",
      "label": ["Sonsing"],
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "quantity":2.00,
      "conditioning": {id: "ET87", label: "Weekly"},
      "accountCharge": {name: "369872981", value: "Articles"},
      "vatCode": "n56",
      "unitPrice": "5.72"
    }
  ]
}]

Erreur

  • Les erreurs possibles sont:

Listing articles

Request

  • Envoi la liste des articles
    • :W: GET / url art/ OBJ AC_ART
    • Les paramètres sont
    • Exemple GET /

Response

  • Retourne le listing des articles (données auto-générées, les infos ne sont pas bonnes)
[{
  "code": "SWpy-23",
  "label": ["Treeflex"],
  "conditioning": {id: "AR50": label: "Yearly"},
  "accountCharge": {name: "6720202", value: "Produits"},
  "vatCode": "j62",
  "unitPrice": "8.06"
}, {
  "code": "EvDG-94",
  "label": ["Alphazap"],
  "conditioning": {id: "AR50": label: "Once"},
  "accountCharge": {name: "7011000000", value: "Produits"},
  "vatCode": "h10",
  "unitPrice": "95.19"
}]

Erreur

  • Les erreurs possibles sont:

Facture

Request

  • Envoi une facture
    • :W: GET /
    • Les paramètres sont
      • id: id de la facture
    • url/obj : fnDoc / FNDOC
    • Exemple GET /
  • :W: POST & PUT /

Response

  • Retourne une facture (données auto-générées, les infos ne sont pas bonnes)
[{
  "number": 129209,
  "operation": "1",
  "period": 1,
  "lastNumber": 1,
  "tier": {
    "id": "F1",
    "label": "Real Estate Investment Trusts"
  },
  "dateInvoice": "02/03/2020",
  "total": 2183.0,
  "devise": "HNL",
  "journal": "Consumer Services",
  "reference": "Kori bustard",
  "isCounted": false,
  "articles": [
  {
      "code": "pvgO-86",
      "label": ["Zontrax"],
      "conditioning": {id: "ER89", label: "Often"},
      "quantity":2.00,
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "accountCharge": {name: "49230200", value: "Articles"},
      "vatCode": "z28",
      "unitPrice": "90.49"
    },
    {
      "code": "aG9M-55",
      "label": ["Latlux"],
      "conditioning":  {id: "ER89", label: "Seldom"},
      "quantity":2.00,
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "accountCharge": {name: "369871500", value: "Articles"},
      "vatCode": "j26",
      "unitPrice": "45.60"
    }, {
      "code": "dFGO-68",
      "label": ["Home Ing"],
      "conditioning": {id: "ER89", label: "Seldom"},
      "quantity":2.00,
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "accountCharge": {name: "42421326", value: "Articles"},
      "vatCode": "g77",
      "unitPrice": "24.89"
    }, {
      "code": "8Jyd-21",
      "label": ["Sonsing"],
      "conditioning": {id: "ER89", label: "Weekly"},
      "quantity":2.00,
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "accountCharge": {name: "369872981", value: "Articles"},
      "vatCode": "n56",
      "unitPrice": "5.72"
    }, {
      "code": "OWAt-95",
      "label": "Prodder",
      "subTotal": 100,
      "baseVat": 45,
      "discountRate": 5,
      "conditioning": {id: "ER89", label: "Daily"},
      "quantity":2.00,
      "accountCharge": {name: "50458604", value: "Articles"},
      "vatCode": "s69",
      "unitPrice": "42.42"
    }
  ]
}]

Erreur

  • Les erreurs possibles sont:

Récupération du pdf de la facture

Request

  • Récupération du pdf de la facture
    • GET / fndoc/{rflid}/pdf
    • Les paramètres sont
      • id: id de la facture
    • Exemple GET /

Response

  • Pdf
[
    {
       PDF
    }
]

Erreur

  • Les erreurs possibles sont:

Article

Request

  • Envoi un article
    • :W: GET /
    • Les paramètres sont
      • id: id de l'article
    • Exemple GET /
  • :W: POST & PUT / URL : art , basic : AC.RFL.ART.UPD.

Response

  • Retourne un article (données auto-générées, les infos ne sont pas bonnes)
[{
      "code": "8Jyd-21",
      "label": ["Sonsing"],
      "conditioning": {id: "ER89", label: "Weekly"},
      "quantity":2.00,
      "accountCharge": {name: "369872981", value: "Articles"},
      "vatCode": "n56",
      "unitPrice": "5.72"
}]

Erreur

  • Les erreurs possibles sont:

Recherche d'article

Request

  • Super search sur les articles
  • GET / search_fnArt
    • Les paramètres sont
    • Exemple GET /

Response

  • Retourne un article (données auto-générées, les infos ne sont pas bonnes)
[{
      "code": "8Jyd-21",
      "label": ["Sonsing"],
      "conditioning": {id: "ER89", label: "Weekly"},
      "quantity":2.00,
      "accountCharge": {name: "369872981", value: "Articles"},
      "vatCode": "n56",
      "unitPrice": "5.72"
}]

Erreur

  • Les erreurs possibles sont:

Recherche Compte

Request

  • super search sur les comptes
    • GET / search-gcf
    • Les paramètres sont
    • Exemple GET /

Response

  • Retourne un compte
[
    {
       compte
    }
]

Erreur

  • Les erreurs possibles sont:

Listing Conditionnement

Request

  • listing du conditionnement
    • :V: GET / URL : condi, rflobj : CONDI
    • Les paramètres sont
    • Exemple GET /

Response

  • Retourne le listing du conditionnement (données auto-générées, les infos ne sont pas bonnes)
[{
	"id": "pjw",
	"label": "Alpha"
}, {
	"id": "cdt",
	"label": "Duobam"
}, {
	"id": "jrf",
	"label": "Namfix"
}, {
	"id": "slb",
	"label": "Cookley"
}, {
	"id": "onv",
	"label": "Flowdesk"
}]

Erreur

  • Les erreurs possibles sont:
insoft/ac/doc/webservice/facturation.txt · Dernière modification: 02/12/2020 14:57 par Olivier Fagan
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki