GetbeelDocs

Read withholdings from received SDI invoices

Reads the invoices received from SDI that have no withholding yet and records those with DatiRitenuta RT01/RT02. Up to 100 per call; call again while has_more. Live keys only (403 livemode_required). Free.

POST
/withholdings/sync

Reads the invoices received from SDI that have no withholding yet and records those with DatiRitenuta RT01/RT02. Up to 100 per call; call again while has_more. Live keys only (403 livemode_required). Free.

Autorizzazione

apiKey
headerAuthorizationBearer <token>

API key: gb_test_… or gb_live_…

Getbeel-Company?string

Act on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.

Formatuuid

Corpo della risposta

OK

application/json
  1. response
object*string
checked*integer
Range-9007199254740991 <= value <= 9007199254740991
created*integer
Range-9007199254740991 <= value <= 9007199254740991
failed*integer
Range-9007199254740991 <= value <= 9007199254740991
has_more*boolean

More received invoices to read: call again

Esempio di richiesta
curl -X POST 'https://www.getbeel.com/api/v1/withholdings/sync'
Esempio di risposta
{  "object": "withholding_sync",  "checked": -9007199254740991,  "created": -9007199254740991,  "failed": -9007199254740991,  "has_more": true}