Árvore de páginas

API do Cadastro de Fatura/Recibo - Método GET

Exemplo de Resposta em Caso de Sucesso

JSON - Exemplo de reposta do GET
{
    "id": "TAFA448",
    "operation": 1,
    "pk": "RCBNRyAwMSBEIE1HIDAxIDEgICAgMjAyNDA1NTUgICAgICAgMjBkZjFjYTYtMmNlNi0zYjI4LTM5ZmItMmY1M2E3NTRlZjU0MjAyMzEyMTQ=",
    "models": [
        {
            "id": "MODEL_LEM",
            "modeltype": "FIELDS",
            "fields": [
                {
                    "id": "LEM_FILIAL",
                    "order": 1,
                    "value": "D MG 01"
                },
                {
                    "id": "LEM_ID",
                    "order": 2,
                    "value": "b33a7fc4-5590-7f53-f06b-04635ea69c2e"
                },
                {
                    "id": "LEM_NUMERO",
                    "order": 3,
                    "value": "20240555"
                },
                {
                    "id": "LEM_NATTIT",
                    "order": 4,
                    "value": "0"
                },
                {
                    "id": "LEM_PREFIX",
                    "order": 5,
                    "value": "1"
                },
                {
                    "id": "LEM_DTEMIS",
                    "order": 6,
                    "value": "20231214"
                },
                {
                    "id": "LEM_IDPART",
                    "order": 7,
                    "value": "20df1ca6-2ce6-3b28-39fb-2f53a754ef54"
                },
                {
                    "id": "LEM_VLBRUT",
                    "order": 10,
                    "value": "15000.00"
                },
                {
                    "id": "LEM_TPRECF",
                    "order": 37,
                    "value": "1"
                },
                {
                    "id": "LEM_DTCONT",
                    "order": 52,
                    "value": "20231214"
                }
            ],
            "models": [
                {
                    "id": "MODEL_T5M",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T5M_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T5M_IDTSER",
                            "order": 2
                        },
                        {
                            "id": "T5M_VLRETS",
                            "order": 4
                        },
                        {
                            "id": "T5M_VLRETP",
                            "order": 5
                        },
                        {
                            "id": "T5M_VLSV15",
                            "order": 6
                        },
                        {
                            "id": "T5M_VLSV20",
                            "order": 7
                        },
                        {
                            "id": "T5M_VLSV25",
                            "order": 8
                        },
                        {
                            "id": "T5M_VLADIC",
                            "order": 9
                        },
                        {
                            "id": "T5M_VLADNE",
                            "order": 10
                        },
                        {
                            "id": "T5M_BSINSS",
                            "order": 11
                        },
                        {
                            "id": "T5M_VLINSS",
                            "order": 12
                        },
                        {
                            "id": "T5M_TPREPA",
                            "order": 13
                        },
                        {
                            "id": "T5M_DESCRI",
                            "order": 14
                        },
                        {
                            "id": "T5M_VLBRUT",
                            "order": 15
                        },
                        {
                            "id": "T5M_VLREAP",
                            "order": 16
                        }
                    ]
                },
                {
                    "id": "MODEL_T51",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T51_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T51_NUMPAR",
                            "order": 2
                        },
                        {
                            "id": "T51_VLRPAR",
                            "order": 3
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "A"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 2,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "B"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 3,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "C"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "MODEL_T9E",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T9E_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T9E_NUMPRO",
                            "order": 2
                        },
                        {
                            "id": "T9E_TPPROC",
                            "order": 4
                        },
                        {
                            "id": "T9E_IDSUSP",
                            "order": 6
                        },
                        {
                            "id": "T9E_CODTRI",
                            "order": 7
                        },
                        {
                            "id": "T9E_VALSUS",
                            "order": 9
                        },
                        {
                            "id": "T9E_CNATRE",
                            "order": 10
                        },
                        {
                            "id": "T9E_BSSUSP",
                            "order": 13
                        },
                        {
                            "id": "T9E_VLRANO",
                            "order": 14
                        },
                        {
                            "id": "T9E_VLRANA",
                            "order": 15
                        }
                    ]
                },
                {
                    "id": "MODEL_V3S",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "V3S_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "V3S_ID",
                            "order": 2
                        },
                        {
                            "id": "V3S_IDPART",
                            "order": 3
                        },
                        {
                            "id": "V3S_NUMFAT",
                            "order": 4
                        },
                        {
                            "id": "V3S_IDNATR",
                            "order": 6
                        },
                        {
                            "id": "V3S_DECTER",
                            "order": 8
                        },
                        {
                            "id": "V3S_VALOR",
                            "order": 9
                        },
                        {
                            "id": "V3S_IDPROC",
                            "order": 10
                        },
                        {
                            "id": "V3S_IFCISC",
                            "order": 15
                        },
                        {
                            "id": "V3S_COMPFP",
                            "order": 16
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "V3S_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "V3S_ID",
                                    "value": "b33a7fc4-5590-7f53-f06b-04635ea69c2e"
                                },
                                {
                                    "id": "V3S_IDPART",
                                    "value": "20df1ca6-2ce6-3b28-39fb-2f53a754ef54"
                                },
                                {
                                    "id": "V3S_NUMFAT",
                                    "value": "20240555"
                                },
                                {
                                    "id": "V3S_IDNATR",
                                    "value": "000106"
                                },
                                {
                                    "id": "V3S_DECTER",
                                    "value": "2"
                                },
                                {
                                    "id": "V3S_VALOR",
                                    "value": "15000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_V47",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "V47_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "V47_IDPART",
                                            "order": 2
                                        },
                                        {
                                            "id": "V47_NUMFAT",
                                            "order": 3
                                        },
                                        {
                                            "id": "V47_IDNATR",
                                            "order": 4
                                        },
                                        {
                                            "id": "V47_IDTRIB",
                                            "order": 6
                                        },
                                        {
                                            "id": "V47_DECTER",
                                            "order": 7
                                        },
                                        {
                                            "id": "V47_BASECA",
                                            "order": 9
                                        },
                                        {
                                            "id": "V47_ALIQ",
                                            "order": 10
                                        },
                                        {
                                            "id": "V47_VLTRIB",
                                            "order": 11
                                        }
                                    ],
                                    "items": [
                                        {
                                            "id": 1,
                                            "deleted": 0,
                                            "fields": [
                                                {
                                                    "id": "V47_FILIAL",
                                                    "value": "D MG 01"
                                                },
                                                {
                                                    "id": "V47_IDPART",
                                                    "value": "20df1ca6-2ce6-3b28-39fb-2f53a754ef54"
                                                },
                                                {
                                                    "id": "V47_NUMFAT",
                                                    "value": "20240555"
                                                },
                                                {
                                                    "id": "V47_IDNATR",
                                                    "value": "000106"
                                                },
                                                {
                                                    "id": "V47_IDTRIB",
                                                    "value": "000012"
                                                },
                                                {
                                                    "id": "V47_DECTER",
                                                    "value": "2"
                                                },
                                                {
                                                    "id": "V47_BASECA",
                                                    "value": "15000.00"
                                                },
                                                {
                                                    "id": "V47_VLTRIB",
                                                    "value": "300.00"
                                                }
                                            ],
                                            "models": [
                                                {
                                                    "id": "MODEL_V4L",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4L_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4L_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4L_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4L_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4L_TPDEDU",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4L_VLRDED",
                                                            "order": 6
                                                        },
                                                        {
                                                            "id": "V4L_VLDEDS",
                                                            "order": 7
                                                        },
                                                        {
                                                            "id": "V4L_NUMPRE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4L_DECTER",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4L_IENTID",
                                                            "order": 10
                                                        },
                                                        {
                                                            "id": "V4L_VLFPRE",
                                                            "order": 11
                                                        }
                                                    ]
                                                },
                                                {
                                                    "id": "MODEL_V4M",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4M_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4M_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4M_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4M_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4M_IDTPIS",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4M_VLRISE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4M_DRENDI",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4M_DECTER",
                                                            "order": 10
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

API do Cadastro de Fatura/Recibo - Método GET [id]

Exemplo de Resposta em Caso de Sucesso

JSON - Exemplo de resposta do GET por PK
{
    "id": "TAFA448",
    "operation": 1,
    "pk": "RCBNRyAwMSAxICAgIDQwMjAwMDAwMiAgICAgIDFiNjAxMjQzLTBjZjMtYjg2ZS0xZDg2LTJhODYzZDA0MzI1ZjIwMjMxMjE0",
    "models": [
        {
            "id": "MODEL_LEM",
            "modeltype": "FIELDS",
            "fields": [
                {
                    "id": "LEM_FILIAL",
                    "order": 1,
                    "value": "D MG 01"
                },
                {
                    "id": "LEM_ID",
                    "order": 2,
                    "value": "0131747c-8bd1-eea3-748f-5008a18a6848"
                },
                {
                    "id": "LEM_NUMERO",
                    "order": 3,
                    "value": "402000002"
                },
                {
                    "id": "LEM_NATTIT",
                    "order": 4,
                    "value": "0"
                },
                {
                    "id": "LEM_PREFIX",
                    "order": 5,
                    "value": "1"
                },
                {
                    "id": "LEM_DTEMIS",
                    "order": 6,
                    "value": "20231214"
                },
                {
                    "id": "LEM_IDPART",
                    "order": 7,
                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                },
                {
                    "id": "LEM_VLBRUT",
                    "order": 10,
                    "value": "15000.00"
                },
                {
                    "id": "LEM_DOCORI",
                    "order": 15,
                    "value": "ee80cf78-452f-c850-12e7-8140b6ce66cd"
                },
                {
                    "id": "LEM_TPRECF",
                    "order": 37,
                    "value": "1"
                },
                {
                    "id": "LEM_DTCONT",
                    "order": 52,
                    "value": "20231214"
                }
            ],
            "models": [
                {
                    "id": "MODEL_T5M",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T5M_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T5M_IDTSER",
                            "order": 2
                        },
                        {
                            "id": "T5M_VLRETS",
                            "order": 4
                        },
                        {
                            "id": "T5M_VLRETP",
                            "order": 5
                        },
                        {
                            "id": "T5M_VLSV15",
                            "order": 6
                        },
                        {
                            "id": "T5M_VLSV20",
                            "order": 7
                        },
                        {
                            "id": "T5M_VLSV25",
                            "order": 8
                        },
                        {
                            "id": "T5M_VLADIC",
                            "order": 9
                        },
                        {
                            "id": "T5M_VLADNE",
                            "order": 10
                        },
                        {
                            "id": "T5M_BSINSS",
                            "order": 11
                        },
                        {
                            "id": "T5M_VLINSS",
                            "order": 12
                        },
                        {
                            "id": "T5M_TPREPA",
                            "order": 13
                        },
                        {
                            "id": "T5M_DESCRI",
                            "order": 14
                        },
                        {
                            "id": "T5M_VLBRUT",
                            "order": 15
                        },
                        {
                            "id": "T5M_VLREAP",
                            "order": 16
                        }
                    ]
                },
                {
                    "id": "MODEL_T51",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T51_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T51_NUMPAR",
                            "order": 2
                        },
                        {
                            "id": "T51_VLRPAR",
                            "order": 3
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "A"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 2,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "B"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 3,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "C"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "MODEL_T9E",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T9E_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T9E_NUMPRO",
                            "order": 2
                        },
                        {
                            "id": "T9E_TPPROC",
                            "order": 4
                        },
                        {
                            "id": "T9E_IDSUSP",
                            "order": 6
                        },
                        {
                            "id": "T9E_CODTRI",
                            "order": 7
                        },
                        {
                            "id": "T9E_VALSUS",
                            "order": 9
                        },
                        {
                            "id": "T9E_CNATRE",
                            "order": 10
                        },
                        {
                            "id": "T9E_BSSUSP",
                            "order": 13
                        },
                        {
                            "id": "T9E_VLRANO",
                            "order": 14
                        },
                        {
                            "id": "T9E_VLRANA",
                            "order": 15
                        }
                    ]
                },
                {
                    "id": "MODEL_V3S",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "V3S_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "V3S_ID",
                            "order": 2
                        },
                        {
                            "id": "V3S_IDPART",
                            "order": 3
                        },
                        {
                            "id": "V3S_NUMFAT",
                            "order": 4
                        },
                        {
                            "id": "V3S_IDNATR",
                            "order": 6
                        },
                        {
                            "id": "V3S_DECTER",
                            "order": 8
                        },
                        {
                            "id": "V3S_VALOR",
                            "order": 9
                        },
                        {
                            "id": "V3S_IDPROC",
                            "order": 10
                        },
                        {
                            "id": "V3S_IFCISC",
                            "order": 15
                        },
                        {
                            "id": "V3S_COMPFP",
                            "order": 16
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "V3S_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "V3S_ID",
                                    "value": "0131747c-8bd1-eea3-748f-5008a18a6848"
                                },
                                {
                                    "id": "V3S_IDPART",
                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                },
                                {
                                    "id": "V3S_NUMFAT",
                                    "value": "402000002"
                                },
                                {
                                    "id": "V3S_IDNATR",
                                    "value": "000106"
                                },
                                {
                                    "id": "V3S_DECTER",
                                    "value": "2"
                                },
                                {
                                    "id": "V3S_VALOR",
                                    "value": "15000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_V47",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "V47_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "V47_IDPART",
                                            "order": 2
                                        },
                                        {
                                            "id": "V47_NUMFAT",
                                            "order": 3
                                        },
                                        {
                                            "id": "V47_IDNATR",
                                            "order": 4
                                        },
                                        {
                                            "id": "V47_IDTRIB",
                                            "order": 6
                                        },
                                        {
                                            "id": "V47_DECTER",
                                            "order": 7
                                        },
                                        {
                                            "id": "V47_BASECA",
                                            "order": 9
                                        },
                                        {
                                            "id": "V47_ALIQ",
                                            "order": 10
                                        },
                                        {
                                            "id": "V47_VLTRIB",
                                            "order": 11
                                        }
                                    ],
                                    "items": [
                                        {
                                            "id": 1,
                                            "deleted": 0,
                                            "fields": [
                                                {
                                                    "id": "V47_FILIAL",
                                                    "value": "D MG 01"
                                                },
                                                {
                                                    "id": "V47_IDPART",
                                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                                },
                                                {
                                                    "id": "V47_NUMFAT",
                                                    "value": "402000002"
                                                },
                                                {
                                                    "id": "V47_IDNATR",
                                                    "value": "000106"
                                                },
                                                {
                                                    "id": "V47_IDTRIB",
                                                    "value": "000012"
                                                },
                                                {
                                                    "id": "V47_DECTER",
                                                    "value": "2"
                                                },
                                                {
                                                    "id": "V47_BASECA",
                                                    "value": "15000.00"
                                                },
                                                {
                                                    "id": "V47_VLTRIB",
                                                    "value": "300.00"
                                                }
                                            ],
                                            "models": [
                                                {
                                                    "id": "MODEL_V4L",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4L_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4L_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4L_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4L_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4L_TPDEDU",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4L_VLRDED",
                                                            "order": 6
                                                        },
                                                        {
                                                            "id": "V4L_VLDEDS",
                                                            "order": 7
                                                        },
                                                        {
                                                            "id": "V4L_NUMPRE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4L_DECTER",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4L_IENTID",
                                                            "order": 10
                                                        },
                                                        {
                                                            "id": "V4L_VLFPRE",
                                                            "order": 11
                                                        }
                                                    ]
                                                },
                                                {
                                                    "id": "MODEL_V4M",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4M_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4M_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4M_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4M_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4M_IDTPIS",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4M_VLRISE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4M_DRENDI",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4M_DECTER",
                                                            "order": 10
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

API do Cadastro de Fatura/Recibo - Método POST

Observação

Neste endpoint, há uma particularidade a ser observada. Como o campo LEM_PARTIC é do tipo virtual, ele deve ser incluído no corpo da requisição com o código do fornecedor. Para isso, basta substituir o campo LEM_IDPART pelos dados do LEM_PARTIC.

Ao invés de enviarmos a seguinte estruura:

 {
    "id": "LEM_IDPART",
    "order": 7,
    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
},

Enviaremos assim:

{
"id": "LEM_PARTIC",
"order": 7,
"value": "FF0000201"
}   

Outro ponto importante é que o campo de ID do participante se resvolve internamente para os submodelos, como exemplo o campo V47_IDPART, podendo neste caso ser enviado o campo ID para este
submodelo.

Exemplo de Envio Esperado

JSON - Exemplo de envio do POST
{
    "id": "TAFA448",
    "operation": 1,
    "models": [
        {
            "id": "MODEL_LEM",
            "modeltype": "FIELDS",
            "fields": [
                {
                    "id": "LEM_FILIAL",
                    "order": 1,
                    "value": "D MG 01"
                },
                {
                    "id": "LEM_NUMERO",
                    "order": 3,
                    "value": "20240555"
                },
                {
                    "id": "LEM_NATTIT",
                    "order": 4,
                    "value": "0"
                },
                {
                    "id": "LEM_PREFIX",
                    "order": 5,
                    "value": "1"
                },
                {
                    "id": "LEM_DTEMIS",
                    "order": 6,
                    "value": "20231214"
                },
                {
                    "id": "LEM_PARTIC",
                    "order": 7,
                    "value": "FF0001101"
                },
                {
                    "id": "LEM_VLBRUT",
                    "order": 10,
                    "value": "15000.00"
                },              
                {
                    "id": "LEM_TPRECF",
                    "order": 37,
                    "value": "1"
                },
                {
                    "id": "LEM_DTCONT",
                    "order": 52,
                    "value": "20231214"
                }
            ],
            "models": [
                {
                    "id": "MODEL_T5M",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T5M_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T5M_IDTSER",
                            "order": 2
                        },
                        {
                            "id": "T5M_VLRETS",
                            "order": 4
                        },
                        {
                            "id": "T5M_VLRETP",
                            "order": 5
                        },
                        {
                            "id": "T5M_VLSV15",
                            "order": 6
                        },
                        {
                            "id": "T5M_VLSV20",
                            "order": 7
                        },
                        {
                            "id": "T5M_VLSV25",
                            "order": 8
                        },
                        {
                            "id": "T5M_VLADIC",
                            "order": 9
                        },
                        {
                            "id": "T5M_VLADNE",
                            "order": 10
                        },
                        {
                            "id": "T5M_BSINSS",
                            "order": 11
                        },
                        {
                            "id": "T5M_VLINSS",
                            "order": 12
                        },
                        {
                            "id": "T5M_TPREPA",
                            "order": 13
                        },
                        {
                            "id": "T5M_DESCRI",
                            "order": 14
                        },
                        {
                            "id": "T5M_VLBRUT",
                            "order": 15
                        },
                        {
                            "id": "T5M_VLREAP",
                            "order": 16
                        }
                    ]
                },
                {
                    "id": "MODEL_T51",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T51_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T51_NUMPAR",
                            "order": 2
                        },
                        {
                            "id": "T51_VLRPAR",
                            "order": 3
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "A"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 2,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "B"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 3,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "C"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "MODEL_T9E",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T9E_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T9E_NUMPRO",
                            "order": 2
                        },
                        {
                            "id": "T9E_TPPROC",
                            "order": 4
                        },
                        {
                            "id": "T9E_IDSUSP",
                            "order": 6
                        },
                        {
                            "id": "T9E_CODTRI",
                            "order": 7
                        },
                        {
                            "id": "T9E_VALSUS",
                            "order": 9
                        },
                        {
                            "id": "T9E_CNATRE",
                            "order": 10
                        },
                        {
                            "id": "T9E_BSSUSP",
                            "order": 13
                        },
                        {
                            "id": "T9E_VLRANO",
                            "order": 14
                        },
                        {
                            "id": "T9E_VLRANA",
                            "order": 15
                        }
                    ]
                },
                {
                    "id": "MODEL_V3S",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "V3S_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "V3S_ID",
                            "order": 2
                        },
                        {
                            "id": "V3S_IDPART",
                            "order": 3
                        },
                        {
                            "id": "V3S_NUMFAT",
                            "order": 4
                        },
                        {
                            "id": "V3S_IDNATR",
                            "order": 6
                        },
                        {
                            "id": "V3S_DECTER",
                            "order": 8
                        },
                        {
                            "id": "V3S_VALOR",
                            "order": 9
                        },
                        {
                            "id": "V3S_IDPROC",
                            "order": 10
                        },
                        {
                            "id": "V3S_IFCISC",
                            "order": 15
                        },
                        {
                            "id": "V3S_COMPFP",
                            "order": 16
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "V3S_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "V3S_ID",
                                    "value": "0131747c-8bd1-eea3-748f-5008a18a6848"
                                },
                                {
                                    "id": "V3S_IDPART",
                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                },
                                {
                                    "id": "V3S_NUMFAT",
                                    "value": "402000002"
                                },
                                {
                                    "id": "V3S_IDNATR",
                                    "value": "000106"
                                },
                                {
                                    "id": "V3S_DECTER",
                                    "value": "2"
                                },
                                {
                                    "id": "V3S_VALOR",
                                    "value": "15000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_V47",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "V47_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "V47_IDPART",
                                            "order": 2
                                        },
                                        {
                                            "id": "V47_NUMFAT",
                                            "order": 3
                                        },
                                        {
                                            "id": "V47_IDNATR",
                                            "order": 4
                                        },
                                        {
                                            "id": "V47_IDTRIB",
                                            "order": 6
                                        },
                                        {
                                            "id": "V47_DECTER",
                                            "order": 7
                                        },
                                        {
                                            "id": "V47_BASECA",
                                            "order": 9
                                        },
                                        {
                                            "id": "V47_ALIQ",
                                            "order": 10
                                        },
                                        {
                                            "id": "V47_VLTRIB",
                                            "order": 11
                                        }
                                    ],
                                    "items": [
                                        {
                                            "id": 1,
                                            "deleted": 0,
                                            "fields": [
                                                {
                                                    "id": "V47_FILIAL",
                                                    "value": "D MG 01"
                                                },
                                                {
                                                    "id": "V47_IDPART",
                                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                                },
                                                {
                                                    "id": "V47_NUMFAT",
                                                    "value": "402000002"
                                                },
                                                {
                                                    "id": "V47_IDNATR",
                                                    "value": "000106"
                                                },
                                                {
                                                    "id": "V47_IDTRIB",
                                                    "value": "000012"
                                                },
                                                {
                                                    "id": "V47_DECTER",
                                                    "value": "2"
                                                },
                                                {
                                                    "id": "V47_BASECA",
                                                    "value": "15000.00"
                                                },
                                                {
                                                    "id": "V47_VLTRIB",
                                                    "value": "300.00"
                                                }
                                            ],
                                            "models": [
                                                {
                                                    "id": "MODEL_V4L",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4L_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4L_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4L_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4L_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4L_TPDEDU",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4L_VLRDED",
                                                            "order": 6
                                                        },
                                                        {
                                                            "id": "V4L_VLDEDS",
                                                            "order": 7
                                                        },
                                                        {
                                                            "id": "V4L_NUMPRE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4L_DECTER",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4L_IENTID",
                                                            "order": 10
                                                        },
                                                        {
                                                            "id": "V4L_VLFPRE",
                                                            "order": 11
                                                        }
                                                    ]
                                                },
                                                {
                                                    "id": "MODEL_V4M",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4M_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4M_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4M_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4M_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4M_IDTPIS",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4M_VLRISE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4M_DRENDI",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4M_DECTER",
                                                            "order": 10
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Exemplo de Resposta em Caso de Sucesso

JSON - Exemplo de resposta do POST
{
    "id": "TAFA448",
    "operation": 1,
    "models": [
        {
            "id": "MODEL_LEM",
            "modeltype": "FIELDS",
            "fields": [
                {
                    "id": "LEM_FILIAL",
                    "order": 1,
                    "value": "D MG 01"
                },
                {
                    "id": "LEM_NUMERO",
                    "order": 3,
                    "value": "20240555"
                },
                {
                    "id": "LEM_NATTIT",
                    "order": 4,
                    "value": "0"
                },
                {
                    "id": "LEM_PREFIX",
                    "order": 5,
                    "value": "12345"
                },
                {
                    "id": "LEM_DTEMIS",
                    "order": 6,
                    "value": "20231214"
                },
                {
                    "id": "LEM_PARTIC",
                    "order": 7,
                    "value": "FF0000201"
                },
                {
                    "id": "LEM_VLBRUT",
                    "order": 10,
                    "value": "15000.00"
                },
                {
                    "id": "LEM_DOCORI",
                    "order": 15,
                    "value": "ee80cf78-452f-c850-12e7-8140b6ce66cd"
                },
                {
                    "id": "LEM_TPRECF",
                    "order": 37,
                    "value": "1"
                },
                {
                    "id": "LEM_DTCONT",
                    "order": 52,
                    "value": "20231214"
                }
            ],
            "models": [
                {
                    "id": "MODEL_T5M",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T5M_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T5M_IDTSER",
                            "order": 2
                        },
                        {
                            "id": "T5M_VLRETS",
                            "order": 4
                        },
                        {
                            "id": "T5M_VLRETP",
                            "order": 5
                        },
                        {
                            "id": "T5M_VLSV15",
                            "order": 6
                        },
                        {
                            "id": "T5M_VLSV20",
                            "order": 7
                        },
                        {
                            "id": "T5M_VLSV25",
                            "order": 8
                        },
                        {
                            "id": "T5M_VLADIC",
                            "order": 9
                        },
                        {
                            "id": "T5M_VLADNE",
                            "order": 10
                        },
                        {
                            "id": "T5M_BSINSS",
                            "order": 11
                        },
                        {
                            "id": "T5M_VLINSS",
                            "order": 12
                        },
                        {
                            "id": "T5M_TPREPA",
                            "order": 13
                        },
                        {
                            "id": "T5M_DESCRI",
                            "order": 14
                        },
                        {
                            "id": "T5M_VLBRUT",
                            "order": 15
                        },
                        {
                            "id": "T5M_VLREAP",
                            "order": 16
                        }
                    ]
                },
                {
                    "id": "MODEL_T51",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T51_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T51_NUMPAR",
                            "order": 2
                        },
                        {
                            "id": "T51_VLRPAR",
                            "order": 3
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "A"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 2,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "B"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 3,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "C"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "MODEL_T9E",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T9E_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T9E_NUMPRO",
                            "order": 2
                        },
                        {
                            "id": "T9E_TPPROC",
                            "order": 4
                        },
                        {
                            "id": "T9E_IDSUSP",
                            "order": 6
                        },
                        {
                            "id": "T9E_CODTRI",
                            "order": 7
                        },
                        {
                            "id": "T9E_VALSUS",
                            "order": 9
                        },
                        {
                            "id": "T9E_CNATRE",
                            "order": 10
                        },
                        {
                            "id": "T9E_BSSUSP",
                            "order": 13
                        },
                        {
                            "id": "T9E_VLRANO",
                            "order": 14
                        },
                        {
                            "id": "T9E_VLRANA",
                            "order": 15
                        }
                    ]
                },
                {
                    "id": "MODEL_V3S",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "V3S_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "V3S_ID",
                            "order": 2
                        },
                        {
                            "id": "V3S_IDPART",
                            "order": 3
                        },
                        {
                            "id": "V3S_NUMFAT",
                            "order": 4
                        },
                        {
                            "id": "V3S_IDNATR",
                            "order": 6
                        },
                        {
                            "id": "V3S_DECTER",
                            "order": 8
                        },
                        {
                            "id": "V3S_VALOR",
                            "order": 9
                        },
                        {
                            "id": "V3S_IDPROC",
                            "order": 10
                        },
                        {
                            "id": "V3S_IFCISC",
                            "order": 15
                        },
                        {
                            "id": "V3S_COMPFP",
                            "order": 16
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "V3S_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "V3S_ID",
                                    "value": "0131747c-8bd1-eea3-748f-5008a18a6848"
                                },
                                {
                                    "id": "V3S_IDPART",
                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                },
                                {
                                    "id": "V3S_NUMFAT",
                                    "value": "402000002"
                                },
                                {
                                    "id": "V3S_IDNATR",
                                    "value": "000106"
                                },
                                {
                                    "id": "V3S_DECTER",
                                    "value": "2"
                                },
                                {
                                    "id": "V3S_VALOR",
                                    "value": "15000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_V47",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "V47_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "V47_IDPART",
                                            "order": 2
                                        },
                                        {
                                            "id": "V47_NUMFAT",
                                            "order": 3
                                        },
                                        {
                                            "id": "V47_IDNATR",
                                            "order": 4
                                        },
                                        {
                                            "id": "V47_IDTRIB",
                                            "order": 6
                                        },
                                        {
                                            "id": "V47_DECTER",
                                            "order": 7
                                        },
                                        {
                                            "id": "V47_BASECA",
                                            "order": 9
                                        },
                                        {
                                            "id": "V47_ALIQ",
                                            "order": 10
                                        },
                                        {
                                            "id": "V47_VLTRIB",
                                            "order": 11
                                        }
                                    ],
                                    "items": [
                                        {
                                            "id": 1,
                                            "deleted": 0,
                                            "fields": [
                                                {
                                                    "id": "V47_FILIAL",
                                                    "value": "D MG 01"
                                                },
                                                {
                                                    "id": "V47_IDPART",
                                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                                },
                                                {
                                                    "id": "V47_NUMFAT",
                                                    "value": "402000002"
                                                },
                                                {
                                                    "id": "V47_IDNATR",
                                                    "value": "000106"
                                                },
                                                {
                                                    "id": "V47_IDTRIB",
                                                    "value": "000012"
                                                },
                                                {
                                                    "id": "V47_DECTER",
                                                    "value": "2"
                                                },
                                                {
                                                    "id": "V47_BASECA",
                                                    "value": "15000.00"
                                                },
                                                {
                                                    "id": "V47_VLTRIB",
                                                    "value": "300.00"
                                                }
                                            ],
                                            "models": [
                                                {
                                                    "id": "MODEL_V4L",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4L_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4L_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4L_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4L_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4L_TPDEDU",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4L_VLRDED",
                                                            "order": 6
                                                        },
                                                        {
                                                            "id": "V4L_VLDEDS",
                                                            "order": 7
                                                        },
                                                        {
                                                            "id": "V4L_NUMPRE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4L_DECTER",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4L_IENTID",
                                                            "order": 10
                                                        },
                                                        {
                                                            "id": "V4L_VLFPRE",
                                                            "order": 11
                                                        }
                                                    ]
                                                },
                                                {
                                                    "id": "MODEL_V4M",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4M_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4M_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4M_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4M_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4M_IDTPIS",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4M_VLRISE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4M_DRENDI",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4M_DECTER",
                                                            "order": 10
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Observação

Deve seguir a mesma regra de envio do POST, tratando o envio do campo LEM_PARTIC e removendo o campo de PK. 

Exemplo de Envio Esperado

JSON - Exemplo de envio do PUT
{
    "id": "TAFA448",
    "operation": 1,
    "models": [
        {
            "id": "MODEL_LEM",
            "modeltype": "FIELDS",
            "fields": [
                {
                    "id": "LEM_FILIAL",
                    "order": 1,
                    "value": "D MG 01"
                },
                {
                    "id": "LEM_NUMERO",
                    "order": 3,
                    "value": "20240555"
                },
                {
                    "id": "LEM_NATTIT",
                    "order": 4,
                    "value": "0"
                },
                {
                    "id": "LEM_PREFIX",
                    "order": 5,
                    "value": "1"
                },
                {
                    "id": "LEM_DTEMIS",
                    "order": 6,
                    "value": "20231214"
                },
                {
                    "id": "LEM_PARTIC",
                    "order": 7,
                    "value": "FF0001101"
                },
                {
                    "id": "LEM_VLBRUT",
                    "order": 10,
                    "value": "15000.00"
                },              
                {
                    "id": "LEM_TPRECF",
                    "order": 37,
                    "value": "1"
                },
                {
                    "id": "LEM_DTCONT",
                    "order": 52,
                    "value": "20231214"
                }
            ],
            "models": [
                {
                    "id": "MODEL_T5M",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T5M_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T5M_IDTSER",
                            "order": 2
                        },
                        {
                            "id": "T5M_VLRETS",
                            "order": 4
                        },
                        {
                            "id": "T5M_VLRETP",
                            "order": 5
                        },
                        {
                            "id": "T5M_VLSV15",
                            "order": 6
                        },
                        {
                            "id": "T5M_VLSV20",
                            "order": 7
                        },
                        {
                            "id": "T5M_VLSV25",
                            "order": 8
                        },
                        {
                            "id": "T5M_VLADIC",
                            "order": 9
                        },
                        {
                            "id": "T5M_VLADNE",
                            "order": 10
                        },
                        {
                            "id": "T5M_BSINSS",
                            "order": 11
                        },
                        {
                            "id": "T5M_VLINSS",
                            "order": 12
                        },
                        {
                            "id": "T5M_TPREPA",
                            "order": 13
                        },
                        {
                            "id": "T5M_DESCRI",
                            "order": 14
                        },
                        {
                            "id": "T5M_VLBRUT",
                            "order": 15
                        },
                        {
                            "id": "T5M_VLREAP",
                            "order": 16
                        }
                    ]
                },
                {
                    "id": "MODEL_T51",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T51_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T51_NUMPAR",
                            "order": 2
                        },
                        {
                            "id": "T51_VLRPAR",
                            "order": 3
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "A"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 2,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "B"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 3,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "C"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "MODEL_T9E",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T9E_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T9E_NUMPRO",
                            "order": 2
                        },
                        {
                            "id": "T9E_TPPROC",
                            "order": 4
                        },
                        {
                            "id": "T9E_IDSUSP",
                            "order": 6
                        },
                        {
                            "id": "T9E_CODTRI",
                            "order": 7
                        },
                        {
                            "id": "T9E_VALSUS",
                            "order": 9
                        },
                        {
                            "id": "T9E_CNATRE",
                            "order": 10
                        },
                        {
                            "id": "T9E_BSSUSP",
                            "order": 13
                        },
                        {
                            "id": "T9E_VLRANO",
                            "order": 14
                        },
                        {
                            "id": "T9E_VLRANA",
                            "order": 15
                        }
                    ]
                },
                {
                    "id": "MODEL_V3S",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "V3S_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "V3S_ID",
                            "order": 2
                        },
                        {
                            "id": "V3S_IDPART",
                            "order": 3
                        },
                        {
                            "id": "V3S_NUMFAT",
                            "order": 4
                        },
                        {
                            "id": "V3S_IDNATR",
                            "order": 6
                        },
                        {
                            "id": "V3S_DECTER",
                            "order": 8
                        },
                        {
                            "id": "V3S_VALOR",
                            "order": 9
                        },
                        {
                            "id": "V3S_IDPROC",
                            "order": 10
                        },
                        {
                            "id": "V3S_IFCISC",
                            "order": 15
                        },
                        {
                            "id": "V3S_COMPFP",
                            "order": 16
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "V3S_FILIAL",
                                    "value": "D MG 01"
                                },                                                        
                                {
                                    "id": "V3S_NUMFAT",
                                    "value": "402000002"
                                },
                                {
                                    "id": "V3S_IDNATR",
                                    "value": "000106"
                                },
                                {
                                    "id": "V3S_DECTER",
                                    "value": "2"
                                },
                                {
                                    "id": "V3S_VALOR",
                                    "value": "15000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_V47",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "V47_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "V47_IDPART",
                                            "order": 2
                                        },
                                        {
                                            "id": "V47_NUMFAT",
                                            "order": 3
                                        },
                                        {
                                            "id": "V47_IDNATR",
                                            "order": 4
                                        },
                                        {
                                            "id": "V47_IDTRIB",
                                            "order": 6
                                        },
                                        {
                                            "id": "V47_DECTER",
                                            "order": 7
                                        },
                                        {
                                            "id": "V47_BASECA",
                                            "order": 9
                                        },
                                        {
                                            "id": "V47_ALIQ",
                                            "order": 10
                                        },
                                        {
                                            "id": "V47_VLTRIB",
                                            "order": 11
                                        }
                                    ],
                                    "items": [
                                        {
                                            "id": 1,
                                            "deleted": 0,
                                            "fields": [
                                                {
                                                    "id": "V47_FILIAL",
                                                    "value": "D MG 01"
                                                },
                                                {
                                                    "id": "V47_IDPART",
                                                    "value": "1b601243-0cf3-b86e-1d86-2a863d04325f"
                                                },
                                                {
                                                    "id": "V47_NUMFAT",
                                                    "value": "402000002"
                                                },
                                                {
                                                    "id": "V47_IDNATR",
                                                    "value": "000106"
                                                },
                                                {
                                                    "id": "V47_IDTRIB",
                                                    "value": "000012"
                                                },
                                                {
                                                    "id": "V47_DECTER",
                                                    "value": "2"
                                                },
                                                {
                                                    "id": "V47_BASECA",
                                                    "value": "15000.00"
                                                },
                                                {
                                                    "id": "V47_VLTRIB",
                                                    "value": "300.00"
                                                }
                                            ],
                                            "models": [
                                                {
                                                    "id": "MODEL_V4L",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4L_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4L_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4L_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4L_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4L_TPDEDU",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4L_VLRDED",
                                                            "order": 6
                                                        },
                                                        {
                                                            "id": "V4L_VLDEDS",
                                                            "order": 7
                                                        },
                                                        {
                                                            "id": "V4L_NUMPRE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4L_DECTER",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4L_IENTID",
                                                            "order": 10
                                                        },
                                                        {
                                                            "id": "V4L_VLFPRE",
                                                            "order": 11
                                                        }
                                                    ]
                                                },
                                                {
                                                    "id": "MODEL_V4M",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4M_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4M_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4M_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4M_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4M_IDTPIS",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4M_VLRISE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4M_DRENDI",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4M_DECTER",
                                                            "order": 10
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Exemplo de Resposta em Caso de Sucesso

JSON - Exemplo de resposta do PUT
{
    "id": "TAFA448",
    "operation": 1,
    "pk": "RCBNRyAwMSBEIE1HIDAxIDEgICAgMjAyNDA1NTUgICAgICAgMjBkZjFjYTYtMmNlNi0zYjI4LTM5ZmItMmY1M2E3NTRlZjU0MjAyMzEyMTQ=",
    "models": [
        {
            "id": "MODEL_LEM",
            "modeltype": "FIELDS",
            "fields": [
                {
                    "id": "LEM_FILIAL",
                    "order": 1,
                    "value": "D MG 01"
                },
                {
                    "id": "LEM_ID",
                    "order": 2,
                    "value": "b33a7fc4-5590-7f53-f06b-04635ea69c2e"
                },
                {
                    "id": "LEM_NUMERO",
                    "order": 3,
                    "value": "20240555"
                },
                {
                    "id": "LEM_NATTIT",
                    "order": 4,
                    "value": "0"
                },
                {
                    "id": "LEM_PREFIX",
                    "order": 5,
                    "value": "1"
                },
                {
                    "id": "LEM_DTEMIS",
                    "order": 6,
                    "value": "20231214"
                },
                {
                    "id": "LEM_IDPART",
                    "order": 7,
                    "value": "20df1ca6-2ce6-3b28-39fb-2f53a754ef54"
                },
                {
                    "id": "LEM_VLBRUT",
                    "order": 10,
                    "value": "15000.00"
                },
                {
                    "id": "LEM_TPRECF",
                    "order": 37,
                    "value": "1"
                },
                {
                    "id": "LEM_DTCONT",
                    "order": 52,
                    "value": "20231214"
                }
            ],
            "models": [
                {
                    "id": "MODEL_T5M",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T5M_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T5M_IDTSER",
                            "order": 2
                        },
                        {
                            "id": "T5M_VLRETS",
                            "order": 4
                        },
                        {
                            "id": "T5M_VLRETP",
                            "order": 5
                        },
                        {
                            "id": "T5M_VLSV15",
                            "order": 6
                        },
                        {
                            "id": "T5M_VLSV20",
                            "order": 7
                        },
                        {
                            "id": "T5M_VLSV25",
                            "order": 8
                        },
                        {
                            "id": "T5M_VLADIC",
                            "order": 9
                        },
                        {
                            "id": "T5M_VLADNE",
                            "order": 10
                        },
                        {
                            "id": "T5M_BSINSS",
                            "order": 11
                        },
                        {
                            "id": "T5M_VLINSS",
                            "order": 12
                        },
                        {
                            "id": "T5M_TPREPA",
                            "order": 13
                        },
                        {
                            "id": "T5M_DESCRI",
                            "order": 14
                        },
                        {
                            "id": "T5M_VLBRUT",
                            "order": 15
                        },
                        {
                            "id": "T5M_VLREAP",
                            "order": 16
                        }
                    ]
                },
                {
                    "id": "MODEL_T51",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T51_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T51_NUMPAR",
                            "order": 2
                        },
                        {
                            "id": "T51_VLRPAR",
                            "order": 3
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "A"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 2,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "B"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "id": 3,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "T51_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "T51_NUMPAR",
                                    "value": "C"
                                },
                                {
                                    "id": "T51_VLRPAR",
                                    "value": "5000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_T5P",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "T5P_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "T5P_DTPGTO",
                                            "order": 2
                                        },
                                        {
                                            "id": "T5P_VLPGTO",
                                            "order": 3
                                        },
                                        {
                                            "id": "T5P_PROCID",
                                            "order": 4
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "MODEL_T9E",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "T9E_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "T9E_NUMPRO",
                            "order": 2
                        },
                        {
                            "id": "T9E_TPPROC",
                            "order": 4
                        },
                        {
                            "id": "T9E_IDSUSP",
                            "order": 6
                        },
                        {
                            "id": "T9E_CODTRI",
                            "order": 7
                        },
                        {
                            "id": "T9E_VALSUS",
                            "order": 9
                        },
                        {
                            "id": "T9E_CNATRE",
                            "order": 10
                        },
                        {
                            "id": "T9E_BSSUSP",
                            "order": 13
                        },
                        {
                            "id": "T9E_VLRANO",
                            "order": 14
                        },
                        {
                            "id": "T9E_VLRANA",
                            "order": 15
                        }
                    ]
                },
                {
                    "id": "MODEL_V3S",
                    "modeltype": "GRID",
                    "optional": 1,
                    "struct": [
                        {
                            "id": "V3S_FILIAL",
                            "order": 1
                        },
                        {
                            "id": "V3S_ID",
                            "order": 2
                        },
                        {
                            "id": "V3S_IDPART",
                            "order": 3
                        },
                        {
                            "id": "V3S_NUMFAT",
                            "order": 4
                        },
                        {
                            "id": "V3S_IDNATR",
                            "order": 6
                        },
                        {
                            "id": "V3S_DECTER",
                            "order": 8
                        },
                        {
                            "id": "V3S_VALOR",
                            "order": 9
                        },
                        {
                            "id": "V3S_IDPROC",
                            "order": 10
                        },
                        {
                            "id": "V3S_IFCISC",
                            "order": 15
                        },
                        {
                            "id": "V3S_COMPFP",
                            "order": 16
                        }
                    ],
                    "items": [
                        {
                            "id": 1,
                            "deleted": 0,
                            "fields": [
                                {
                                    "id": "V3S_FILIAL",
                                    "value": "D MG 01"
                                },
                                {
                                    "id": "V3S_ID",
                                    "value": "b33a7fc4-5590-7f53-f06b-04635ea69c2e"
                                },
                                {
                                    "id": "V3S_IDPART",
                                    "value": "20df1ca6-2ce6-3b28-39fb-2f53a754ef54"
                                },
                                {
                                    "id": "V3S_NUMFAT",
                                    "value": "20240555"
                                },
                                {
                                    "id": "V3S_IDNATR",
                                    "value": "000106"
                                },
                                {
                                    "id": "V3S_DECTER",
                                    "value": "2"
                                },
                                {
                                    "id": "V3S_VALOR",
                                    "value": "15000.00"
                                }
                            ],
                            "models": [
                                {
                                    "id": "MODEL_V47",
                                    "modeltype": "GRID",
                                    "optional": 1,
                                    "struct": [
                                        {
                                            "id": "V47_FILIAL",
                                            "order": 1
                                        },
                                        {
                                            "id": "V47_IDPART",
                                            "order": 2
                                        },
                                        {
                                            "id": "V47_NUMFAT",
                                            "order": 3
                                        },
                                        {
                                            "id": "V47_IDNATR",
                                            "order": 4
                                        },
                                        {
                                            "id": "V47_IDTRIB",
                                            "order": 6
                                        },
                                        {
                                            "id": "V47_DECTER",
                                            "order": 7
                                        },
                                        {
                                            "id": "V47_BASECA",
                                            "order": 9
                                        },
                                        {
                                            "id": "V47_ALIQ",
                                            "order": 10
                                        },
                                        {
                                            "id": "V47_VLTRIB",
                                            "order": 11
                                        }
                                    ],
                                    "items": [
                                        {
                                            "id": 1,
                                            "deleted": 0,
                                            "fields": [
                                                {
                                                    "id": "V47_FILIAL",
                                                    "value": "D MG 01"
                                                },
                                                {
                                                    "id": "V47_IDPART",
                                                    "value": "20df1ca6-2ce6-3b28-39fb-2f53a754ef54"
                                                },
                                                {
                                                    "id": "V47_NUMFAT",
                                                    "value": "20240555"
                                                },
                                                {
                                                    "id": "V47_IDNATR",
                                                    "value": "000106"
                                                },
                                                {
                                                    "id": "V47_IDTRIB",
                                                    "value": "000012"
                                                },
                                                {
                                                    "id": "V47_DECTER",
                                                    "value": "2"
                                                },
                                                {
                                                    "id": "V47_BASECA",
                                                    "value": "15000.00"
                                                },
                                                {
                                                    "id": "V47_VLTRIB",
                                                    "value": "300.00"
                                                }
                                            ],
                                            "models": [
                                                {
                                                    "id": "MODEL_V4L",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4L_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4L_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4L_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4L_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4L_TPDEDU",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4L_VLRDED",
                                                            "order": 6
                                                        },
                                                        {
                                                            "id": "V4L_VLDEDS",
                                                            "order": 7
                                                        },
                                                        {
                                                            "id": "V4L_NUMPRE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4L_DECTER",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4L_IENTID",
                                                            "order": 10
                                                        },
                                                        {
                                                            "id": "V4L_VLFPRE",
                                                            "order": 11
                                                        }
                                                    ]
                                                },
                                                {
                                                    "id": "MODEL_V4M",
                                                    "modeltype": "GRID",
                                                    "optional": 1,
                                                    "struct": [
                                                        {
                                                            "id": "V4M_FILIAL",
                                                            "order": 1
                                                        },
                                                        {
                                                            "id": "V4M_ID",
                                                            "order": 2
                                                        },
                                                        {
                                                            "id": "V4M_IDPART",
                                                            "order": 3
                                                        },
                                                        {
                                                            "id": "V4M_NUMFAT",
                                                            "order": 4
                                                        },
                                                        {
                                                            "id": "V4M_IDTPIS",
                                                            "order": 5
                                                        },
                                                        {
                                                            "id": "V4M_VLRISE",
                                                            "order": 8
                                                        },
                                                        {
                                                            "id": "V4M_DRENDI",
                                                            "order": 9
                                                        },
                                                        {
                                                            "id": "V4M_DECTER",
                                                            "order": 10
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
JSON - Exemplo de resposta do DELETE
true
  • Sem rótulos